Merge "Fedora AArch64 (64-bit ARM) support in diskimage-builder"
This commit is contained in:
commit
0a453febc6
@ -53,7 +53,7 @@ case "$ARCH" in
|
|||||||
qemu_binary_file="/usr/bin/qemu-arm-static"
|
qemu_binary_file="/usr/bin/qemu-arm-static"
|
||||||
copy_binary $qemu_binary_file $ARCH
|
copy_binary $qemu_binary_file $ARCH
|
||||||
;;
|
;;
|
||||||
"arm64")
|
"arm64" | "aarch64")
|
||||||
qemu_binary_file="/usr/bin/qemu-aarch64-static"
|
qemu_binary_file="/usr/bin/qemu-aarch64-static"
|
||||||
copy_binary $qemu_binary_file $ARCH
|
copy_binary $qemu_binary_file $ARCH
|
||||||
;;
|
;;
|
||||||
|
@ -18,6 +18,9 @@ elif [[ "$ARCH" = "ppc64" ]]; then
|
|||||||
elif [[ "$ARCH" = "ppc64el" ]]; then
|
elif [[ "$ARCH" = "ppc64el" ]]; then
|
||||||
basearch=ppc64el
|
basearch=ppc64el
|
||||||
arch=ppc64el
|
arch=ppc64el
|
||||||
|
elif [[ "$ARCH" = "aarch64" ]]; then
|
||||||
|
basearch=aarch64
|
||||||
|
arch=aarch64
|
||||||
else
|
else
|
||||||
echo "********************"
|
echo "********************"
|
||||||
echo "Unknown arch '$ARCH'"
|
echo "Unknown arch '$ARCH'"
|
||||||
|
@ -26,6 +26,8 @@ else
|
|||||||
"armv"*)
|
"armv"*)
|
||||||
_ARCH="armhf"
|
_ARCH="armhf"
|
||||||
;;
|
;;
|
||||||
|
"aarch64")
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "WARNING: Unknown architecture: $_ARCH"
|
echo "WARNING: Unknown architecture: $_ARCH"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user