From 0c7b957c1342db210602eea7951f53a44a50e45b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 23 Jul 2015 15:10:00 +0100 Subject: [PATCH] appliance: exclude /lib/firmware Brings the size of the appliance down to 95 MB [xz-compressed], which is the same as for libguestfs 1.28. --- appliance/excludefiles.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in index d3c66ccbf..574c8282f 100644 --- a/appliance/excludefiles.in +++ b/appliance/excludefiles.in @@ -22,6 +22,11 @@ dnl The right kernel modules are added back by supermin. -/boot/* -/lib/modules/* +dnl Firmware blobs should not be required by a virtual machine. +dnl Because of UsrMove nonsense, we need to list both directories. +-/lib/firmware/* +-/usr/lib/firmware/* + -/usr/lib/locale/* -/usr/share/cracklib/* -/usr/share/doc/*