[SCM] Debian Live initramfs hook branch, master, updated. 1.157.1-1-15-g381d8f0

Daniel Baumann daniel at debian.org
Wed Apr 22 19:43:26 UTC 2009


The following commit has been merged in the master branch:
commit 381d8f0952b1ca15338dd2ed26ab5a48c5a6ca67
Author: Daniel Baumann <daniel at debian.org>
Date:   Wed Apr 22 21:39:54 2009 +0200

    Conditionally calling cryptsetup when dealing with encrypted persistent partitions.

diff --git a/scripts/live-helpers b/scripts/live-helpers
index e8634cd..c4fca95 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -328,7 +328,7 @@ find_cow_device ()
 			fi
 
 			# Checking for a luks device
-			if /sbin/cryptsetup isLuks ${devname}
+			if [ -e /sbin/cryptsetup ] && /sbin/cryptsetup isLuks ${devname}
 			then
 				while true
 				do

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list