diff options
Diffstat (limited to 'check-images')
-rwxr-xr-x | check-images | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/check-images b/check-images index 1871673..51ecd5c 100755 --- a/check-images +++ b/check-images @@ -29,14 +29,11 @@ tryit() { src="$(dirname "$0")" cd "$src" -# This uses debootstrap, not qemu-debootstrap. Hence, it only works on amd64 -if [ -x /usr/bin/dpkg ] && [ "$(dpkg --print-architecture)" = "amd64" ]; then - bash -x ./smoke.sh "$amd64_tarball" +bash -x ./smoke.sh "$amd64_tarball" - for x in "$@" pc uefi ansible smoke-pc smoke-uefi; do - tryit "$tarballdir/$x.img" "$x.vmdb" "$amd64_tarball" - done -fi +for x in "$@" pc uefi ansible smoke-pc smoke-uefi; do + tryit "$tarballdir/$x.img" "$x.vmdb" "$amd64_tarball" +done if [ -e /usr/share/OVMF/OVMF_VARS_4M.fd ]; then bash -x ./smoke-amd64.sh "$amd64_tarball" |