Allowing to include multiple kernel images but menu entry is generated only for one.
This commit is contained in:
parent
36d3b1a510
commit
057d7439ac
|
@ -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 }')"
|
||||
|
|
Loading…
Reference in New Issue