coverage.sh: require binfmt support form chrootless installation of libmagic-mgc on armhf

This commit is contained in:
Johannes 'josch' Schauer 2019-10-06 18:42:44 +02:00
parent 86b430190f
commit dde777123e
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -1434,10 +1434,14 @@ rm /tmp/debian-chroot/var/lib/dpkg/info/libmagic-mgc.list
# the rest should be empty directories that we can rmdir recursively # the rest should be empty directories that we can rmdir recursively
find /tmp/debian-chroot -depth -print0 | xargs -0 rmdir find /tmp/debian-chroot -depth -print0 | xargs -0 rmdir
END END
if [ "$HAVE_QEMU" = "yes" ]; then if [ "$HAVE_BINFMT" = "yes" ]; then
if [ "$HAVE_QEMU" = "yes" ]; then
./run_qemu.sh ./run_qemu.sh
else else
./run_null.sh ./run_null.sh
fi
else
echo "HAVE_BINFMT != yes -- Skipping test..."
fi fi
print_header "mode=root,variant=custom: install busybox-based sub-essential system" print_header "mode=root,variant=custom: install busybox-based sub-essential system"