aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/create-image.sh')
-rwxr-xr-xtools/create-image.sh27
1 files changed, 15 insertions, 12 deletions
diff --git a/tools/create-image.sh b/tools/create-image.sh
index 20446985e..db710a27c 100755
--- a/tools/create-image.sh
+++ b/tools/create-image.sh
@@ -77,18 +77,21 @@ done
# Handle cases where qemu and Debian use different arch names
case "$ARCH" in
- ppc64le)
- DEBARCH=ppc64el
- ;;
- aarch64)
- DEBARCH=arm64
- ;;
- arm)
- DEBARCH=armel
- ;;
- *)
- DEBARCH=$ARCH
- ;;
+ ppc64le)
+ DEBARCH=ppc64el
+ ;;
+ aarch64)
+ DEBARCH=arm64
+ ;;
+ arm)
+ DEBARCH=armel
+ ;;
+ x86_64)
+ DEBARCH=amd64
+ ;;
+ *)
+ DEBARCH=$ARCH
+ ;;
esac
# Foreign architecture