Pino Toscano
2014-Apr-03 13:29 UTC
[Libguestfs] [PATCH] appliance: exclude pkg-config, doc-base, and reportbug stuff
Exclude the arch-independent pkg-config files (no pkg-config available in the appliance). Exclude also the doc-base and reportbug files, typically found in Debian systems. --- appliance/excludefiles.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in index c107268..a2745b0 100644 --- a/appliance/excludefiles.in +++ b/appliance/excludefiles.in @@ -27,8 +27,11 @@ dnl The right kernel modules are added back by supermin. -/usr/share/gnome/help/* -/usr/share/cracklib/* -/usr/share/i18n/* +-/usr/share/pkgconfig/* dnl For Debian: -/usr/share/lintian/* -/usr/share/initramfs-tools/* +-/usr/share/doc-base/* +-/usr/share/bug/* -/etc/initramfs-tools/* -- 1.9.0
Richard W.M. Jones
2014-Apr-03 14:40 UTC
Re: [Libguestfs] [PATCH] appliance: exclude pkg-config, doc-base, and reportbug stuff
On Thu, Apr 03, 2014 at 03:29:53PM +0200, Pino Toscano wrote:> Exclude the arch-independent pkg-config files (no pkg-config available > in the appliance). > > Exclude also the doc-base and reportbug files, typically found in Debian > systems.ACK. FWIW we used to go further and remove all perl* and python* packages. Since supermin 5 / libguestfs 1.26 I stopped doing that, and the size of the fixed appliance has grown by about half: http://libguestfs.org/download/binaries/appliance/ Not sure if we should fix that however. It's possible that those packages do something useful ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW