diff options
author | Helmut Grohne <helmut@subdivi.de> | 2022-12-21 12:16:25 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2022-12-21 12:16:25 +0100 |
commit | 07d630126e4d25f204b1e8e0aac82db5139782ac (patch) | |
tree | a7482c4043b979d153a6fa662edf3c4650d4395c | |
parent | 5b8d9f4326b4a6352cc52a8f761bd85a3b840ecc (diff) | |
download | debvm-07d630126e4d25f204b1e8e0aac82db5139782ac.tar.gz |
support i386
-rwxr-xr-x | debvm-create | 11 | ||||
-rwxr-xr-x | debvm-run | 2 |
2 files changed, 8 insertions, 5 deletions
diff --git a/debvm-create b/debvm-create index 85c2f66..b2a213d 100755 --- a/debvm-create +++ b/debvm-create @@ -84,15 +84,18 @@ fi KERNEL_SUFFIX=-$ARCHITECTURE case "$ARCHITECTURE" in amd64) - KERNEL_SUFFIX=-cloud-$ARCHITECTURE + KERNEL_SUFFIX=-cloud-amd64 + if test "$SUITE" = jessie || test "$SUITE" = stretch; then + KERNEL_SUFFIX=-amd64 + fi ;; armhf) KERNEL_SUFFIX=-armmp ;; + i386) + KERNEL_SUFFIX=-686-pae + ;; esac -if test "$SUITE" = jessie || test "$SUITE" = stretch; then - KERNEL_SUFFIX=-$ARCHITECTURE -fi INCLUDE_PACKAGES="$INCLUDE_PACKAGES,linux-image$KERNEL_SUFFIX" @@ -115,7 +115,7 @@ if test -z "$GRAPHICAL"; then s390x) set -- -M s390-ccw-virtio "$@" ;; - amd64) + amd64|i386) KERNEL_CMDLINE="$KERNEL_CMDLINE console=ttyS0" ;; esac |