rootfs: enable loong64 in qemu binfmt registration
Add loong64 to the list of architectures prepared by prepare_host_binfmt_qemu_cross(). This allows automatic registration and use of qemu-user emulation for LoongArch64 guests, enabling rootfs bootstrap and CI workflows targeting loong64. This aligns Armbian with Debian’s upcoming native loong64 support (Forky) and allows testing already via debian-ports and qemu-system-loongarch64. Signed-off-by: Igor Pecovnik <igor@armbian.com>
This commit is contained in:
parent
539a239462
commit
97f91102c1
@ -132,7 +132,7 @@ function prepare_host_binfmt_qemu_cross() {
|
|||||||
|
|
||||||
declare host_arch
|
declare host_arch
|
||||||
host_arch="$(arch)"
|
host_arch="$(arch)"
|
||||||
declare -a wanted_arches=("arm" "aarch64" "x86_64" "riscv64")
|
declare -a wanted_arches=("arm" "aarch64" "x86_64" "riscv64" "loongarch64")
|
||||||
declare -A arch_aliases=(["aarch64"]="arm64" ["x86_64"]="amd64")
|
declare -A arch_aliases=(["aarch64"]="arm64" ["x86_64"]="amd64")
|
||||||
display_alert "Preparing binfmts for arch" "binfmts: host '${host_arch}', wanted arches '${wanted_arches[*]}'" "debug"
|
display_alert "Preparing binfmts for arch" "binfmts: host '${host_arch}', wanted arches '${wanted_arches[*]}'" "debug"
|
||||||
declare wanted_arch arch_alias
|
declare wanted_arch arch_alias
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user