On Thursday 23 July 2015 14:49:25 Richard W.M. Jones wrote: > I also sorted the list. > > Between libguestfs 1.28 and 1.30, the appliance grew from 95MB to 213MB. > > Using guestmount and filelight (see link below) I could see that the > main contributor was these two directories, which should not be > necessary. > > With this change, the size goes down to 119MB. > > See also: > https://rwmj.wordpress.com/2015/07/23/why-has-the-libguestfs-appliance-grown-by-118-mb/ > --- > appliance/excludefiles.in | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in > index 1564386..d3c66cc 100644 > --- a/appliance/excludefiles.in > +++ b/appliance/excludefiles.in > @@ -23,13 +23,15 @@ dnl The right kernel modules are added back by supermin. > -/lib/modules/* > > -/usr/lib/locale/* > --/usr/share/locale/* > --/usr/share/man/* > +-/usr/share/cracklib/* > -/usr/share/doc/* > --/usr/share/info/* > +-/usr/share/fonts/* > -/usr/share/gnome/help/* > --/usr/share/cracklib/* > -/usr/share/i18n/* > +-/usr/share/icons/* > +-/usr/share/info/* > +-/usr/share/locale/* > +-/usr/share/man/* > -/usr/share/pkgconfig/* > > -/var/log/?tmp
LGTM. -- Pino Toscano
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
