Make this work with xbps >= 0.26.
This commit is contained in:
parent
ecf9674d14
commit
e267fde82f
2
Makefile
2
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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue