[Pkg-loop-aes-commits] r1348 - /branches/loop-aes-utils/initramfs-integration/debian/initramfs-tools-hook

lmamane at users.alioth.debian.org lmamane at users.alioth.debian.org
Sat Dec 16 08:02:34 CET 2006


Author: lmamane
Date: Sat Dec 16 08:02:34 2006
New Revision: 1348

URL: http://svn.debian.org/wsvn/pkg-loop-aes/?sc=1&rev=1348
Log:
Keep initramfs-tools conf.d/loopaes in initramfs and on host system separate

Modified:
    branches/loop-aes-utils/initramfs-integration/debian/initramfs-tools-hook

Modified: branches/loop-aes-utils/initramfs-integration/debian/initramfs-tools-hook
URL: http://svn.debian.org/wsvn/pkg-loop-aes/branches/loop-aes-utils/initramfs-integration/debian/initramfs-tools-hook?rev=1348&op=diff
==============================================================================
--- branches/loop-aes-utils/initramfs-integration/debian/initramfs-tools-hook (original)
+++ branches/loop-aes-utils/initramfs-integration/debian/initramfs-tools-hook Sat Dec 16 08:02:34 2006
@@ -178,6 +178,12 @@
 fi
 loopaes_opts="${loopaes_opts},gpghome=/.gnupg"
 
+# mkinitramfs has installed a symlink to
+# /etc/initramfs-tools/conf.d/loopaes or
+# /usr/share/initramfs-tools/conf.d/loopaes; that is not desirable
+# for us as what we want there at boot time and at initramfs creation
+# time is not the same!
+rm -f ${DESTDIR}/conf/conf.d/loopaes
 echo "LOOPAESOPTS=\"$loopaes_opts\"" > ${DESTDIR}/conf/conf.d/loopaes
 copy_exec /sbin/losetup /sbin/
 # Allow the correct keymap to be loaded if possible




More information about the Pkg-loop-aes-commits mailing list