[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 3/4] Remove the icon-theme.cache file from the initrd.



This saves about 6 MB of uncompressed space.  It's also not strictly needed
since we're running out of memory anyway so icon lookups should be pretty
quick without it.  Also, anaconda doesn't load very many icons.
---
 scripts/upd-instroot |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index c5d58cc..29f4c51 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -1105,6 +1105,7 @@ mv $DEST/usr/$LIBDIR/python?.?/site-packages/pyanaconda/sitecustomize.py $DEST/u
 mv $DEST/etc/yum.repos.d $DEST/etc/anaconda.repos.d
 
 rm -f $DEST/usr/$LIBDIR/libunicode-lite*
+rm -f $DEST/usr/share/icons/*/icon-theme.cache
 
 find $DEST -type d | xargs chmod 755
 
-- 
1.7.1.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]