[SCM] live-build branch, debian, updated. debian/2.0_a28-1-12-g43666a8

Daniel Baumann daniel at debian.org
Thu Sep 16 19:25:30 UTC 2010


The following commit has been merged in the debian branch:
commit 5acc7b4807b8fb2941f1eae7b48563167267c942
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Sep 16 16:19:46 2010 +0200

    Updating kernel images number when installing them into live media.

diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux
index c5f53bf..c869f5f 100755
--- a/scripts/build/lb_binary_syslinux
+++ b/scripts/build/lb_binary_syslinux
@@ -96,10 +96,9 @@ Syslinux_live_entry ()
 	case "${LB_BINARY_IMAGES}" in
 		iso*|usb*)
 			NUMBER="$(ls -1 ${KERNEL_PATH} | grep 'vmlinuz-' | wc -l)"
-			NUMBER="$((${NUMBER} +1))"
 
 			# Do not add numbering to filenames if first kernel/initrd
-			if [ "${NUMBER}" = "1" ]
+			if [ "${NUMBER}" = "2" ]
 			then
 				NUMBER=""
 			fi

-- 
live-build



More information about the debian-live-changes mailing list