diff options
author | Helmut Grohne <helmut@subdivi.de> | 2025-03-05 11:25:33 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2025-03-05 11:37:46 +0100 |
commit | d760fac413ddb077cc96d528c3ccb73a3ff22457 (patch) | |
tree | deddf5bb39521faa1a5f6330335c667ec456c156 | |
parent | e93660b51c4e68c2134b11791bfb76900bf4a01d (diff) | |
download | debvm-d760fac413ddb077cc96d528c3ccb73a3ff22457.tar.gz |
tests: i386 no longer has a linux kernel
Enable amd64 for i386 in current releases.
-rwxr-xr-x | tests/create-and-run.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/create-and-run.sh b/tests/create-and-run.sh index 2553a21..1d0a56d 100755 --- a/tests/create-and-run.sh +++ b/tests/create-and-run.sh @@ -28,6 +28,16 @@ if test "$ARCHITECTURE" = armel; then # Booting an armel kernel on qemu is next to impossible. ARCHITECTURE=armel,armhf fi +if test "$ARCHITECTURE" = i386; then + case "$RELEASE" in + jessie|stretch|buster|bullseye|bookworm) + ;; + *) + # i386 no longer has a kernel + ARCHITECTURE=i386,amd64 + ;; + esac +fi case "$RELEASE" in jessie|stretch) MIRROR=http://archive.debian.org/debian |