summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/create-and-run.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/create-and-run.sh b/tests/create-and-run.sh
index 819161f..c8efa3e 100755
--- a/tests/create-and-run.sh
+++ b/tests/create-and-run.sh
@@ -21,8 +21,12 @@ trap cleanup EXIT INT TERM QUIT
ssh-keygen -f "$SSH_KEYPATH" -N ''
set --
-# Use an armhf kernel for armel.
-test "$ARCHITECTURE" = armel && set -- -- --architecture armhf
+case "$ARCHITECTURE" in
+ # Booting an armel kernel on qemu is next to impossible.
+ armel) set -- -- --architecture armhf ;;
+ # Broken kernel #1029270.
+ i386) set -- -- --architecture amd64 ;;
+esac
debvm-create -k "$SSH_KEYPATH.pub" -o "$IMAGE" -a "$ARCHITECTURE" -r "$RELEASE" "$@"
SSH_PORT=2222