From 057d7439ac6cc60bc273eaba6219e4b484a4e445 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Wed, 3 Oct 2012 14:20:36 +0200 Subject: Allowing to include multiple kernel images but menu entry is generated only for one. --- scripts/build/binary_syslinux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build/binary_syslinux') diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux index c40b1c8f9..b891db0f3 100755 --- a/scripts/build/binary_syslinux +++ b/scripts/build/binary_syslinux @@ -307,7 +307,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 | sort -u)" + _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 | tr "\n" " ")" _LIVE_BUILD_VERSION="$(lb --version)" _LIVE_BOOT_VERSION="$(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 }')" -- cgit v1.2.3