[SCM] live-build branch, debian, updated. debian/3.0_a47-1-8-g3a864f6

Daniel Baumann daniel at debian.org
Fri May 25 14:05:00 UTC 2012


The following commit has been merged in the debian branch:
commit 69194996f73fc04924dc3f1274ec8dd1b7c74701
Author: Daniel Baumann <daniel at debian.org>
Date:   Wed May 23 07:17:15 2012 +0200

    Using /boot on live media instead of /isolinux or /syslinux in progress mode.

diff --git a/scripts/build/lb_binary_checksums b/scripts/build/lb_binary_checksums
index c5c8819..59fa56c 100755
--- a/scripts/build/lb_binary_checksums
+++ b/scripts/build/lb_binary_checksums
@@ -55,6 +55,7 @@ do
 	cd binary
 	find . -type f \
 		\! -path './isolinux/isolinux.bin' \
+		\! -path './boot/boot.bin' \
 		\! -path './boot/grub/stage2_eltorito' \
 		\! -path './md5sum.txt' \
 		\! -path './sha1sum.txt' \
diff --git a/scripts/build/lb_binary_iso b/scripts/build/lb_binary_iso
index 1db7463..ce9dbd1 100755
--- a/scripts/build/lb_binary_iso
+++ b/scripts/build/lb_binary_iso
@@ -127,8 +127,17 @@ case "${LB_BOOTLOADER}" in
 
 	syslinux)
 		GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
-		GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b isolinux/isolinux.bin -c isolinux/boot.cat"
-		GENISOIMAGE_EXCLUDE="isolinux/isolinux.bin"
+		case "${LB_MODE}" in
+			progress)
+				GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b boot/boot.bin -c boot/boot.cat"
+				GENISOIMAGE_EXCLUDE="boot/boot.bin"
+				;;
+
+			*)
+				GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b isolinux/isolinux.bin -c isolinux/boot.cat"
+				GENISOIMAGE_EXCLUDE="isolinux/isolinux.bin"
+				;;
+		esac
 		;;
 
 	yaboot)
diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux
index 153acf2..866e790 100755
--- a/scripts/build/lb_binary_syslinux
+++ b/scripts/build/lb_binary_syslinux
@@ -51,7 +51,16 @@ Check_crossarchitectures
 case "${LB_BINARY_IMAGES}" in
 	iso*)
 		_BOOTLOADER="isolinux"
-		_TARGET="binary/isolinux"
+
+		case "${LB_MODE}" in
+			progress)
+				_TARGET="binary/boot"
+				;;
+
+			*)
+				_TARGET="binary/isolinux"
+				;;
+		esac
 		;;
 
 	net*)
@@ -61,7 +70,16 @@ case "${LB_BINARY_IMAGES}" in
 
 	hdd*|*)
 		_BOOTLOADER="syslinux"
-		_TARGET="binary/syslinux"
+
+		case "${LB_MODE}" in
+			progress)
+				_TARGET="binary/boot"
+				;;
+
+			*)
+				_TARGET="binary/syslinux"
+				;;
+		esac
 		;;
 esac
 
@@ -222,6 +240,18 @@ then
 	${_TARGET}/install.cfg
 fi
 
+case "${LB_MODE}" in
+	progress)
+		for _FILE in "${_TARGET}/isolinux.bin" "${_TARGET}/isolinux.cfg" "${_TARGET}/syslinux.cfg"
+		do
+			if [ -e "${_FILE}" ]
+			then
+				mv "${_FILE}" $(echo ${_FILE} | sed -e 's|.*linux|boot|')
+			fi
+		done
+		;;
+esac
+
 case "${LB_BUILD_WITH_CHROOT}" in
 	true)
 		# Saving cache

-- 
live-build



More information about the debian-live-changes mailing list