Merge "Fedora AArch64 (64-bit ARM) support in diskimage-builder"
This commit is contained in:
commit
0a453febc6
3 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
;;
|
||||
|
|
|
@ -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'"
|
||||
|
|
|
@ -26,6 +26,8 @@ else
|
|||
"armv"*)
|
||||
_ARCH="armhf"
|
||||
;;
|
||||
"aarch64")
|
||||
;;
|
||||
*)
|
||||
echo "WARNING: Unknown architecture: $_ARCH"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue