[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-15-g2a520c0

Daniel Baumann daniel at debian.org
Mon Sep 29 18:13:51 UTC 2008


The following commit has been merged in the master branch:
commit 2a520c03ef9459f8bf054c059e642f571110aa65
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Sep 29 20:11:09 2008 +0200

    Automatically correct LH_SETUP value if the configured losetup cannot be found.

diff --git a/functions/defaults.sh b/functions/defaults.sh
index b36f1d0..0c3989f 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -164,7 +164,7 @@ Set_defaults ()
 	fi
 
 	# Setting losetup
-	if [ -z "${LH_LOSETUP}" ]
+	if [ -z "${LH_LOSETUP}" ] || [ ! -x /sbin/${LH_LOSETUP} ]
 	then
 		# Workaround for loop-aes-utils divertion
 		# (loop-aes-utils' losetup lacks features).

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list