mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon: Fix file architecture translation for LoongArch
Fixes: commit 729d6d55ea
This commit is contained in:
@@ -98,6 +98,8 @@ and canonical_elf_arch bits endianness elf_arch =
|
||||
| "64" -> "s390x"
|
||||
| _ -> failwithf "unknown S/390 bit size: %s" bits
|
||||
)
|
||||
else if substr "LoongArch" then
|
||||
sprintf "loongarch%s" bits
|
||||
else
|
||||
elf_arch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user