Merge "Fedora AArch64 (64-bit ARM) support in diskimage-builder"

This commit is contained in:
Jenkins 2016-11-25 12:09:21 +00:00 committed by Gerrit Code Review
commit 0a453febc6
3 changed files with 6 additions and 1 deletions

View File

@ -53,7 +53,7 @@ case "$ARCH" in
qemu_binary_file="/usr/bin/qemu-arm-static"
copy_binary $qemu_binary_file $ARCH
;;
"arm64")
"arm64" | "aarch64")
qemu_binary_file="/usr/bin/qemu-aarch64-static"
copy_binary $qemu_binary_file $ARCH
;;

View File

@ -18,6 +18,9 @@ elif [[ "$ARCH" = "ppc64" ]]; then
elif [[ "$ARCH" = "ppc64el" ]]; then
basearch=ppc64el
arch=ppc64el
elif [[ "$ARCH" = "aarch64" ]]; then
basearch=aarch64
arch=aarch64
else
echo "********************"
echo "Unknown arch '$ARCH'"

View File

@ -26,6 +26,8 @@ else
"armv"*)
_ARCH="armhf"
;;
"aarch64")
;;
*)
echo "WARNING: Unknown architecture: $_ARCH"
;;