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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux