mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon: Add zstd support to guestfs_file_architecture
This is required so we can determine the file architecture of zstd-compressed Linux kernel modules as used by OpenSUSE and maybe other distros in future. Note that zstd becomes a required package, but it is widely available in current Linux distros. The package names come from https://pkgs.org/download/zstd and my own research.
This commit is contained in:
@@ -9417,6 +9417,8 @@ with large files, such as the resulting squashfs will be over 3GB big." };
|
||||
[["file_architecture"; "/bin-x86_64-dynamic.gz"]], "x86_64"), [];
|
||||
InitISOFS, Always, TestResultString (
|
||||
[["file_architecture"; "/lib-i586.so.xz"]], "i386"), [];
|
||||
InitISOFS, Always, TestResultString (
|
||||
[["file_architecture"; "/lib-i586.so.zst"]], "i386"), [];
|
||||
];
|
||||
shortdesc = "detect the architecture of a binary file";
|
||||
longdesc = "\
|
||||
|
||||
Reference in New Issue
Block a user