[Libguestfs] [PATCH] appliance: exclude /usr/lib/firmware

Pino Toscano ptoscano at redhat.com
Thu Jul 23 15:28:12 UTC 2015


On Thursday 23 July 2015 15:10:41 Richard W.M. Jones wrote:
> Brings the size of the appliance down to 95 MB [xz-compressed], which
> is the same as for libguestfs 1.28.
> ---
>  appliance/excludefiles.in | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
> index d3c66cc..a63eca9 100644
> --- a/appliance/excludefiles.in
> +++ b/appliance/excludefiles.in
> @@ -22,6 +22,9 @@ dnl The right kernel modules are added back by supermin.
>  -/boot/*
>  -/lib/modules/*
>  
> +dnl Firmware blobs should not be required by a virtual machine.
> +-/usr/lib/firmware/*
> +

Hm this should rather be /lib/firmware, as that's the canonical
locations for firmwares on Linux (/usr/lib/firmware exists on UsrMove
systems).

LGTM if changed to /lib/firmware.

Thanks,
-- 
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/20150723/141d24da/attachment.sig>


More information about the Libguestfs mailing list