We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fabad1 commit f7d1d3cCopy full SHA for f7d1d3c
1 file changed
mklive.sh.in
@@ -374,7 +374,7 @@ if [ -n "$LINUX_VERSION" ]; then
374
_linux_series="$LINUX_VERSION"
375
PACKAGE_LIST="$PACKAGE_LIST $LINUX_VERSION"
376
else # Otherwise find latest stable version from linux meta-package
377
- _linux_series=$(XBPS_ARCH=$BASE_ARCH $XBPS_QUERY_CMD -r "$ROOTFS" ${XBPS_REPOSITORY:=-R} -x linux|head -1)
+ _linux_series=$(XBPS_ARCH=$BASE_ARCH $XBPS_QUERY_CMD -r "$ROOTFS" ${XBPS_REPOSITORY:=-R} -x linux | grep 'linux[0-9._]\+')
378
fi
379
380
_kver=$(XBPS_ARCH=$BASE_ARCH $XBPS_QUERY_CMD -r "$ROOTFS" ${XBPS_REPOSITORY:=-R} -p pkgver ${_linux_series})
0 commit comments