[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-60-g9bdb8ba

Daniel Baumann daniel at debian.org
Thu Oct 30 14:24:40 UTC 2008


The following commit has been merged in the master branch:
commit 720da4cd37ab11bdd3d352cbcee8641679df26f3
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Oct 30 09:27:21 2008 +0100

    Slightly reordering genisoimage option assembling.

diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso
index b5d3d6a..42d497a 100755
--- a/helpers/lh_binary_iso
+++ b/helpers/lh_binary_iso
@@ -62,6 +62,10 @@ then
 	rm -f binary.iso
 fi
 
+# Handle genisoimage generic options
+GENISOIMAGE_OPTIONS="-J -l -cache-inodes -allow-multidot"
+
+# Handle genisoimage live-helper specific options
 if [ "${LH_QUIET}" = "enabled" ]
 then
 	GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -quiet"
@@ -92,7 +96,15 @@ then
 	GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -V \"${LH_ISO_VOLUME}\""
 fi
 
-# Create image
+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)
 		GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
@@ -124,16 +136,8 @@ case "${LH_BOOTLOADER}" in
 		;;
 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 -J -l -cache-inodes -allow-multidot binary
+genisoimage ${GENISOIMAGE_OPTIONS} -o binary.iso binary
 EOF
 
 case "${LH_CHROOT_BUILD}" in

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list