diff options
| author | Andrew Donnellan <ajd@linux.ibm.com> | 2020-10-06 18:17:06 +1100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-10-08 12:17:15 +0200 |
| commit | 0e469495ddd1f4be4ba3a94e3865ae8acc3f165c (patch) | |
| tree | 9f2cac971b5654e9d6051b0451a69bd941120b7c | |
| parent | a68f87323ae8e8c21757c7b82694645c2709bddd (diff) | |
tools/create-image.sh: add architecture mapping x86_64 -> amd64
Add a mapping from qemu architecture x86_64 to Debian architecture amd64
which I forgot to add earlier.
(Also fix up the indentation to be consistent while we're here.)
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
| -rwxr-xr-x | tools/create-image.sh | 27 |
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 |
