diff --git a/daemon/filearch.ml b/daemon/filearch.ml index 7dfc1cb71..e2bd5a2c9 100644 --- a/daemon/filearch.ml +++ b/daemon/filearch.ml @@ -100,6 +100,8 @@ and canonical_elf_arch bits endianness elf_arch = ) else if substr "LoongArch" then sprintf "loongarch%s" bits + else if substr "*unknown arch 0x102*" then (* file command on RHEL 9 *) + sprintf "loongarch%s" bits else elf_arch