summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2022-12-21 12:16:25 +0100
committerHelmut Grohne <helmut@subdivi.de>2022-12-21 12:16:25 +0100
commit07d630126e4d25f204b1e8e0aac82db5139782ac (patch)
treea7482c4043b979d153a6fa662edf3c4650d4395c
parent5b8d9f4326b4a6352cc52a8f761bd85a3b840ecc (diff)
downloaddebvm-07d630126e4d25f204b1e8e0aac82db5139782ac.tar.gz
support i386
-rwxr-xr-xdebvm-create11
-rwxr-xr-xdebvm-run2
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"
diff --git a/debvm-run b/debvm-run
index d2afd51..d8362a0 100755
--- a/debvm-run
+++ b/debvm-run
@@ -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