[SCM] live-boot branch, debian-next, updated. debian/3.0_a22-1-25-gf885467
Daniel Baumann
daniel at debian.org
Thu Nov 24 17:37:30 UTC 2011
The following commit has been merged in the debian-next branch:
commit 8860c59f82e44e0d1752042fcaf11c69bd4677e3
Author: Tails developers <amnesia at boum.org>
Date: Tue Nov 8 15:40:17 2011 +0100
Adding persistent-encryption={none|luks}.
This is the way to control whether to use encrypted persistent media,
instead of the (from this commit on) obsolete persistent=cryptsetup.
diff --git a/scripts/live b/scripts/live
index 6080841..bd7d9c4 100755
--- a/scripts/live
+++ b/scripts/live
@@ -253,6 +253,11 @@ Arguments ()
export PERSISTENT
;;
+ persistent-encryption=*)
+ PERSISTENT_ENCRYPTION="${ARGUMENT#*=}"
+ export PERSISTENT_ENCRYPTION
+ ;;
+
persistent-media=*)
PERSISTENT_MEDIA="${ARGUMENT#*=}"
export PERSISTENT_MEDIA
diff --git a/scripts/live-helpers b/scripts/live-helpers
index 73d9f9d..950bbda 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -328,7 +328,7 @@ find_cow_device ()
fi
# Checking for a luks device
- if [ "${PERSISTENT}" = "cryptsetup" ] && [ -e /sbin/cryptsetup ] && /sbin/cryptsetup isLuks ${devname}
+ if [ "${PERSISTENT_ENCRYPTION}" = "luks" ] && [ -e /sbin/cryptsetup ] && /sbin/cryptsetup isLuks ${devname}
then
while true
do
--
live-boot
More information about the debian-live-changes
mailing list