From 0e469495ddd1f4be4ba3a94e3865ae8acc3f165c Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Tue, 6 Oct 2020 18:17:06 +1100 Subject: 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 --- tools/create-image.sh | 27 +++++++++++++++------------ 1 file 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 -- cgit mrf-deployment