only check for qemu conf if host architecture is not aarch64
This commit is contained in:
parent
01dcb47cb4
commit
ff6b690871
|
|
@ -7,6 +7,7 @@
|
||||||
# Set globals
|
# Set globals
|
||||||
TMPDIR=/var/tmp/manjaro-arm-installer
|
TMPDIR=/var/tmp/manjaro-arm-installer
|
||||||
ARCH='aarch64'
|
ARCH='aarch64'
|
||||||
|
CARCH=$(uname -m)
|
||||||
NSPAWN='systemd-nspawn -q --resolv-conf=copy-host --timezone=off -D'
|
NSPAWN='systemd-nspawn -q --resolv-conf=copy-host --timezone=off -D'
|
||||||
|
|
||||||
# set colorscheme
|
# set colorscheme
|
||||||
|
|
@ -50,10 +51,12 @@ for i in "${DEPENDNECIES[@]}"; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [[ "$CARCH" != "aarch64" ]]; then
|
||||||
if [ ! -f "/usr/lib/binfmt.d/qemu-static.conf" ]; then
|
if [ ! -f "/usr/lib/binfmt.d/qemu-static.conf" ]; then
|
||||||
echo "qemu-static.conf file is missing. Please install the relevant package."
|
echo "qemu-static.conf file is missing. Please install the relevant package."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue