[Pkg-loop-aes-commits] r1321 - in /trunk/loop-aes-utils/debian: NEWS.Debian README changelog initramfs-tools-conf initramfs-tools-hook

xam at users.alioth.debian.org xam at users.alioth.debian.org
Sun Nov 12 14:30:29 CET 2006


Author: xam
Date: Sun Nov 12 14:30:28 2006
New Revision: 1321

URL: http://svn.debian.org/wsvn/pkg-loop-aes/?sc=1&rev=1321
Log:
Disable initramfs scripts unless configured

Modified:
    trunk/loop-aes-utils/debian/NEWS.Debian
    trunk/loop-aes-utils/debian/README
    trunk/loop-aes-utils/debian/changelog
    trunk/loop-aes-utils/debian/initramfs-tools-conf
    trunk/loop-aes-utils/debian/initramfs-tools-hook

Modified: trunk/loop-aes-utils/debian/NEWS.Debian
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes-utils/debian/NEWS.Debian?rev=1321&op=diff
==============================================================================
--- trunk/loop-aes-utils/debian/NEWS.Debian (original)
+++ trunk/loop-aes-utils/debian/NEWS.Debian Sun Nov 12 14:30:28 2006
@@ -1,11 +1,8 @@
 loop-aes-utils (2.12r-15) unstable; urgency=low
 
   * This version includes support for root on loop-aes encrypted
-    device when using an initramfs-tools generated initramfs.
-
-    If you had a working loop-aes encrypted root and you are using
-    initramfs-tools, this support may interfere and cause initramfs-tools
-    to produce an initramfs that will not boot your system. See
+    device when using an initramfs-tools generated initramfs. The
+    support is not enabled by default. See
     /usr/share/doc/loop-aes-utils/README.Debian.gz for details.
 
  -- Lionel Elie Mamane <lmamane at debian.org>  Sun,  6 Aug 2006 15:20:24 +0200

Modified: trunk/loop-aes-utils/debian/README
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes-utils/debian/README?rev=1321&op=diff
==============================================================================
--- trunk/loop-aes-utils/debian/README (original)
+++ trunk/loop-aes-utils/debian/README Sun Nov 12 14:30:28 2006
@@ -31,13 +31,14 @@
   encrypted (or not) loop device. This needs initramfs-tools version
   0.81 or later.
 
-  This support is automatically enabled at initramfs creation time
-  when your root device in /etc/fstab has a "loop=/dev/loopN"
-  option. You can also force it on by setting the environmental
-  variable INITRAMFS_LOOPAES to "1", "yes" or "on"; you can force it
-  off by setting INITRAMFS_LOOPAES to "0", "no" or
-  "off". INITRAMFS_LOOPAES can be set in the shell calling mkinitramfs
-  or in /etc/initramfs-tools/initramfs.conf .
+  This support is not automatically enabled by default.
+  
+  You can activate the support by setting INITRAMFS_LOOPAES in
+  /etc/initramfs-tools/initramfs.conf or in the shell calling
+  mkinitramfs to "auto" or "yes". The recommended setting is "auto".
+  It checks at initramfs creation time if your root device in
+  /etc/fstab has a "loop=/dev/loopN" option. You can also forcibly
+  activate the support with "yes" or force it off with "no".
 
   When support is forced on, support for all ciphers is included; when
   automatically enabled, only the necessary cipher module is included

Modified: trunk/loop-aes-utils/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes-utils/debian/changelog?rev=1321&op=diff
==============================================================================
--- trunk/loop-aes-utils/debian/changelog (original)
+++ trunk/loop-aes-utils/debian/changelog Sun Nov 12 14:30:28 2006
@@ -1,11 +1,11 @@
 loop-aes-utils (2.12r-15) UNRELEASED; urgency=low
 
   * Set Maintainer to Debian Loop-AES Team
-  * Enable initramfs-tools integration for encrypted root, thanks to
+  * Include initramfs-tools integration for encrypted root, thanks to
     Lionel Elie Mamane <lionel at debian.org> (Closes: #378488)
   * Update config.sub to 2006-09-20
 
- -- Max Vozeler <xam at debian.org>  Sun, 22 Oct 2006 19:01:50 +0200
+ -- Max Vozeler <xam at debian.org>  Sat, 11 Nov 2006 14:31:16 +0100
 
 loop-aes-utils (2.12r-14) unstable; urgency=low
 

Modified: trunk/loop-aes-utils/debian/initramfs-tools-conf
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes-utils/debian/initramfs-tools-conf?rev=1321&op=diff
==============================================================================
--- trunk/loop-aes-utils/debian/initramfs-tools-conf (original)
+++ trunk/loop-aes-utils/debian/initramfs-tools-conf Sun Nov 12 14:30:28 2006
@@ -1,3 +1,5 @@
+# This script is sourced by initramfs-tools; It should not exit
+
 get_rootoptions() {
     [ -r /etc/fstab ] || return
 
@@ -18,7 +20,11 @@
 	    ;;
 	1|yes|on)
 	    ;;
-	auto|)
+	auto)
+	    ;;
+	'')
+	    # Default to not doing anything
+	    return 1
 	    ;;
 	*)
 	    echo "WARNING! (loop-aes) ignoring invalid INITRAMFS_LOOPAES value: '${INITRAMFS_LOOPAES}'" 1>&2

Modified: trunk/loop-aes-utils/debian/initramfs-tools-hook
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes-utils/debian/initramfs-tools-hook?rev=1321&op=diff
==============================================================================
--- trunk/loop-aes-utils/debian/initramfs-tools-hook (original)
+++ trunk/loop-aes-utils/debian/initramfs-tools-hook Sun Nov 12 14:30:28 2006
@@ -24,10 +24,15 @@
     1|yes|on)
 	FORCE_LOOPAES=1
 	;;
-    auto|)
+    auto)
+	;;
+    '')
+    	# Default not doing anything
+	exit 0
 	;;
     *)
 	echo "WARNING! (loop-aes) ignoring invalid INITRAMFS_LOOPAES value: '${INITRAMFS_LOOPAES}'" 1>&2
+	;;
 esac
 
 . /usr/share/initramfs-tools/hook-functions




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