forked from josch/mmdebstrap
coverage.sh: require binfmt support form chrootless installation of libmagic-mgc on armhf
This commit is contained in:
parent
86b430190f
commit
dde777123e
1 changed files with 7 additions and 3 deletions
|
@ -1434,11 +1434,15 @@ rm /tmp/debian-chroot/var/lib/dpkg/info/libmagic-mgc.list
|
|||
# the rest should be empty directories that we can rmdir recursively
|
||||
find /tmp/debian-chroot -depth -print0 | xargs -0 rmdir
|
||||
END
|
||||
if [ "$HAVE_BINFMT" = "yes" ]; then
|
||||
if [ "$HAVE_QEMU" = "yes" ]; then
|
||||
./run_qemu.sh
|
||||
else
|
||||
./run_null.sh
|
||||
fi
|
||||
else
|
||||
echo "HAVE_BINFMT != yes -- Skipping test..."
|
||||
fi
|
||||
|
||||
print_header "mode=root,variant=custom: install busybox-based sub-essential system"
|
||||
cat << END > shared/test.sh
|
||||
|
|
Loading…
Reference in a new issue