summaryrefslogtreecommitdiff
path: root/debvm-create
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 /debvm-create
parent5b8d9f4326b4a6352cc52a8f761bd85a3b840ecc (diff)
downloaddebvm-07d630126e4d25f204b1e8e0aac82db5139782ac.tar.gz
support i386
Diffstat (limited to 'debvm-create')
-rwxr-xr-xdebvm-create11
1 files changed, 7 insertions, 4 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"