From dde777123e817e977bd051beb737dcf2dbe269c8 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 6 Oct 2019 18:42:44 +0200 Subject: [PATCH] coverage.sh: require binfmt support form chrootless installation of libmagic-mgc on armhf --- coverage.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/coverage.sh b/coverage.sh index d12e987..cf795f5 100755 --- a/coverage.sh +++ b/coverage.sh @@ -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 find /tmp/debian-chroot -depth -print0 | xargs -0 rmdir END -if [ "$HAVE_QEMU" = "yes" ]; then - ./run_qemu.sh +if [ "$HAVE_BINFMT" = "yes" ]; then + if [ "$HAVE_QEMU" = "yes" ]; then + ./run_qemu.sh + else + ./run_null.sh + fi else - ./run_null.sh + echo "HAVE_BINFMT != yes -- Skipping test..." fi print_header "mode=root,variant=custom: install busybox-based sub-essential system"