[SCM] live-build branch, debian-next, updated. debian/3.0_a51-1-16-g0a553d2

Daniel Baumann daniel at debian.org
Wed Jul 18 18:43:35 UTC 2012


The following commit has been merged in the debian-next branch:
commit 0a553d2a32313ee98c1b3bfd78ea02d079d9895b
Author: Daniel Baumann <daniel at debian.org>
Date:   Wed Jul 18 20:44:02 2012 +0200

    Handle multiple version numbers when having more than one linux flavours for splash.svg post-processing.

diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux
index d88a0bf..1d38d1d 100755
--- a/scripts/build/lb_binary_syslinux
+++ b/scripts/build/lb_binary_syslinux
@@ -277,7 +277,7 @@ then
 	_HOUR="$(date +%H)"
 	_MINUTE="$(date +%M)"
 	_SECOND="$(date +%S)"
-	_LINUX_VERSIONS="$(for _LINUX in chroot/boot/vmlinuz-* ; do chroot chroot apt-cache policy $(basename ${_LINUX} | sed -e 's|vmlinuz-|linux-image-|') | awk '/Installed: / { print $2 }' ; done)"
+	_LINUX_VERSIONS="$(for _LINUX in chroot/boot/vmlinuz-* ; do chroot chroot apt-cache policy $(basename ${_LINUX} | sed -e 's|vmlinuz-|linux-image-|') | awk '/Installed: / { print $2 }' ; done | sort -u)"
 	_LIVE_BUILD_VERSIONS="$(chroot chroot apt-cache policy live-build | awk '/Installed: / { print $2 }')"
 	_LIVE_BOOT_VERSIONS="$(chroot chroot apt-cache policy live-boot | awk '/Installed: / { print $2 }')"
 	_LIVE_CONFIG_VERSION="$(chroot chroot apt-cache policy live-config | awk '/Installed: / { print $2 }')"

-- 
live-build



More information about the debian-live-changes mailing list