summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-01-08 04:30:27 +0000
committerMike Fulbright <msf@redhat.com>2003-01-08 04:30:27 +0000
commitf980ed074012d9e3cbdaa153cf0288e3ea2d5372 (patch)
tree5e69355963644fd522cfd408bb35da2e99e48de4 /scripts
parent7fc12dd284289821fb7a026d16310e6e4c48eed7 (diff)
more space savings
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upd-instroot17
1 files changed, 8 insertions, 9 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 58bdc7dac..61200f821 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -789,6 +789,14 @@ rm -f $DESTGR/locales $DESTGR/locales.list
# Remove unneeded XFree86 modules
rm -rf $DESTGR/usr/X11R6/$LIBDIR/modules/dri
+rm -f $DESTGR/usr/X11R6/$LIBDIR/modules/libscanpci.a
+rm -f $DESTGR/usr/X11R6/$LIBDIR/modules/libxf1bpp.a
+rm -f $DESTGR/usr/X11R6/$LIBDIR/modules/fonts/libspeedo.a
+rm -f $DESTGR/usr/X11R6/$LIBDIR/modules/drivers/linux/v4l_drv.o
+rm -f $DESTGR/usr/X11R6/$LIBDIR/modules/extensions/libdri.a
+rm -f $DESTGR/usr/X11R6/$LIBDIR/modules/extensions/libxtrap.a
+rm -f $DESTGR/usr/X11R6/$LIBDIR/modules/extensions/librecord.a
+
rm -f $DESTGR/usr/X11R6/$LIBDIR/modules/extensions/lib{GLcore,glx,pex5}*
echo "Creating nsswitch.conf"
@@ -1012,15 +1020,6 @@ done
echo "Cleaning ramdisk install images..."
rm -rf $DEST/usr/lib/anaconda-runtime
-# remove *.py in /usr/lib/anaconda since we compile everything
-find $DESTGR -name "*.py" | while read fn; do
- if [ -f ${fn}c ]; then
- echo "removing $fn because it has a .pyc"
- rm -f $fn
- fi
-done
-
-
if [ "$ARCH" != "s390" -a "$ARCH" != "s390x" ]; then
if [ $NEEDGR ]; then
# Xserver needs a place to put the compiled xkb maps.