mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Merge pull request #164 from rwmjones/issue162
daemon: Translate file 5.46 "Intel i386" to "i386"
This commit is contained in:
@@ -68,7 +68,7 @@ and file_architecture_of_magic magic orig_path path =
|
||||
*)
|
||||
and canonical_elf_arch bits endianness elf_arch =
|
||||
let substr s = String.find elf_arch s >= 0 in
|
||||
if substr "Intel 80386" || substr "Intel 80486" then
|
||||
if substr "Intel 80386" || substr "Intel i386" || substr "Intel 80486" then
|
||||
"i386"
|
||||
else if substr "x86-64" || substr "AMD x86-64" then
|
||||
"x86_64"
|
||||
|
||||
Reference in New Issue
Block a user