diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2015-04-15 07:30:18 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2015-04-15 07:30:18 +0200 |
commit | bc72a0b4cff83518b3d2a790f29ad84c2ba30e7f (patch) | |
tree | 4a05ef7ba4415c5549e314cfee2f9b55a3b0bf6d /mklive.sh.in | |
parent | 69f299c581afe3729020a289219eaa8fa52a526b (diff) | |
download | hrmpf-bc72a0b4cff83518b3d2a790f29ad84c2ba30e7f.tar.gz hrmpf-bc72a0b4cff83518b3d2a790f29ad84c2ba30e7f.tar.xz hrmpf-bc72a0b4cff83518b3d2a790f29ad84c2ba30e7f.zip |
mklive: use $BASE_ARCH if set for the image filename.
Diffstat (limited to 'mklive.sh.in')
-rw-r--r-- | mklive.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mklive.sh.in b/mklive.sh.in index 882a0ae..60e9248 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -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_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} ..." install_prereqs |