[Libguestfs] [PATCH] lib: Require libmagic.

Pino Toscano ptoscano at redhat.com
Mon Feb 27 12:32:36 UTC 2017


On Monday, 27 February 2017 13:19:28 CET Richard W.M. Jones wrote:
> If libmagic isn't installed then the guestfs_file_architecture API
> doesn't work.  This means that inspection will always return
> <arch>unknown</arch> for every guest.  This subtly breaks a few
> features.  In particular it was reported that the
> virt-builder/virt-customize --install option did not work because the
> "unknown" architecture of the guest was not compatible with the host.
> 
> libmagic is a small, widely available C library, so the easiest fix is
> just to make it mandatory.
> 
> Reported by: Solarix on IRC
> ---

LGTM.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170227/cc8e3929/attachment.sig>


More information about the Libguestfs mailing list