about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--mklive.sh.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e358d0b..3f12bce 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 GITVER := $(shell git rev-parse --short HEAD)
-VERSION = 0.21
+VERSION = 0.22
 PREFIX ?= /usr/local
 SBINDIR ?= $(PREFIX)/sbin
 SHAREDIR ?= $(PREFIX)/share
diff --git a/mklive.sh.in b/mklive.sh.in
index adb1159..07a3a89 100644
--- a/mklive.sh.in
+++ b/mklive.sh.in
@@ -365,7 +365,8 @@ esac
 $XBPS_INSTALL_CMD -r $ROOTFS -S >/dev/null 2>&1
 
 _linux_series=$($XBPS_QUERY_CMD -r $ROOTFS -Rx linux)
-KERNELVERSION=$($XBPS_QUERY_CMD -r $ROOTFS -R --property version ${_linux_series})
+KERNELVERSION=$($XBPS_QUERY_CMD -r $ROOTFS -R --property pkgver ${_linux_series})
+KERNELVERSION=$($XBPS_UHELPER_CMD getpkgversion $KERNELVERSION)
 
 if [ -z "$OUTPUT_FILE" ]; then
     OUTPUT_FILE="$HOME/void-live-$(uname -m)-${KERNELVERSION}-$(date +%Y%m%d).iso"