[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[patch] bug in lenny's lh_binary_iso



Hi all,

Here is a patch for /usr/bin/lh_binary_iso as distributed in lenny
(live-helper 1.0.2-4). Without this patch the iso generation fails
because of a badly constructed genisoimage command line if
$LH_DEBIAN_INSTALLER is not set to "live".

Thanks.

-- 
David


--- lh_binary_iso.orig	2009-02-02 20:28:07.000000000 +0100
+++ lh_binary_iso	2009-02-02 20:28:42.000000000 +0100
@@ -96,14 +96,6 @@
 	GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -V \"${LH_ISO_VOLUME}\""
 fi
 
-if In_list "stripped minimal" "${LH_PACKAGES_LISTS}"
-then
-	if [ "${LH_DEBIAN_INSTALLER}" != "live" ]
-	then
-		GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -m ${GENISOIMAGE_EXCLUDE}"
-	fi
-fi
-
 # Handle genisoimage architecture specific options
 case "${LH_BOOTLOADER}" in
 	grub)
@@ -137,6 +129,14 @@
 		;;
 esac
 
+if In_list "stripped minimal" "${LH_PACKAGES_LISTS}"
+then
+	if [ "${LH_DEBIAN_INSTALLER}" != "live" ]
+	then
+		GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -m ${GENISOIMAGE_EXCLUDE}"
+	fi
+fi
+
 cat > binary.sh << EOF
 genisoimage ${GENISOIMAGE_OPTIONS} -o binary.iso binary
 EOF

Reply to: