diff options
author | Michal Suchanek <hramrach@gmail.com> | 2012-10-03 14:20:36 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-10-03 14:22:47 +0200 |
commit | 057d7439ac6cc60bc273eaba6219e4b484a4e445 (patch) | |
tree | 788f6f7ef041c3976aa9b9818484bc2c2b255335 | |
parent | 36d3b1a510d02a6f1ffdecba06dab3d6f426e105 (diff) | |
download | vyos-live-build-057d7439ac6cc60bc273eaba6219e4b484a4e445.tar.gz vyos-live-build-057d7439ac6cc60bc273eaba6219e4b484a4e445.zip |
Allowing to include multiple kernel images but menu entry is generated only for one.
-rwxr-xr-x | scripts/build/binary_syslinux | 2 |
1 files changed, 1 insertions, 1 deletions
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 }')" |