summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrigory Kramarenko <djbaldey@gmail.com>2014-10-10 02:40:35 +1100
committerGrigory Kramarenko <djbaldey@gmail.com>2014-10-10 02:40:35 +1100
commit0e4be146703bbde48ba784c71733df696acc39e4 (patch)
tree1245e4151902502c6dba4dd3d8689d5f0ce271e6
parente2a9114cb3409037085fc00f55e82ec2afe37716 (diff)
downloadvyos-live-build-tmp-djbaldey.tar.gz
vyos-live-build-tmp-djbaldey.zip
Fix bug: linux versions in the system with russian locale not parse.tmp-djbaldey
-rwxr-xr-xscripts/build/binary_syslinux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index abd900ac1..e2d79e90b 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -296,7 +296,7 @@ _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 -Vru | tr "\n" " ")"
+_LINUX_VERSIONS="$(for _LINUX in chroot/boot/vmlinuz-* ; do chroot chroot apt-cache show $(basename ${_LINUX} | sed -e 's|vmlinuz-|linux-image-|') | awk '/Version: / { print $2 }' ; done | sort -Vru | tr "\n" " ")"
_LIVE_BUILD_VERSION="$(lb --version)"
_LIVE_BOOT_VERSION="$(chroot chroot apt-cache policy live-boot | awk '/Installed: / { print $2 }')"