mklive: use $BASE_ARCH if set for the image filename.

This commit is contained in:
Juan RP 2015-04-15 07:30:18 +02:00
parent 69f299c581
commit bc72a0b4cf
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ _linux_series=$($XBPS_QUERY_CMD -r $ROOTFS ${XBPS_REPOSITORY:=-R} -x linux)
KERNELVERSION=$($XBPS_QUERY_CMD -r $ROOTFS ${XBPS_REPOSITORY:=-R} -p pkgver ${_linux_series}) KERNELVERSION=$($XBPS_QUERY_CMD -r $ROOTFS ${XBPS_REPOSITORY:=-R} -p pkgver ${_linux_series})
KERNELVERSION=$($XBPS_UHELPER_CMD getpkgversion $KERNELVERSION) KERNELVERSION=$($XBPS_UHELPER_CMD getpkgversion $KERNELVERSION)
: ${OUTPUT_FILE="void-live-$(uname -m)-${KERNELVERSION}-$(date +%Y%m%d).iso"} : ${OUTPUT_FILE="void-live-${BASE_ARCH:=$(uname -m)}-${KERNELVERSION}-$(date +%Y%m%d).iso"}
info_msg "[2/9] Installing software to generate the image: ${REQUIRED_PKGS} ..." info_msg "[2/9] Installing software to generate the image: ${REQUIRED_PKGS} ..."
install_prereqs install_prereqs