summaryrefslogtreecommitdiffstats
path: root/scripts/upd-instroot
diff options
context:
space:
mode:
authorjakub <jakub>2000-07-11 13:35:40 +0000
committerjakub <jakub>2000-07-11 13:35:40 +0000
commit489aa6f299573d57c073b0561dbfa3f1949e1fac (patch)
tree9aa1f25589ce84a27b9c40ee37df4a174dad2fb2 /scripts/upd-instroot
parent9923cc727d3801387a15ebec9405ecfd47444dd5 (diff)
downloadanaconda-489aa6f299573d57c073b0561dbfa3f1949e1fac.tar.gz
anaconda-489aa6f299573d57c073b0561dbfa3f1949e1fac.tar.xz
anaconda-489aa6f299573d57c073b0561dbfa3f1949e1fac.zip
We don't need dri modules nor GLcore, glx nor pex5.
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-xscripts/upd-instroot8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index bd1bf2ff8..ee6846d4a 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -430,8 +430,8 @@ RPMS=$(prunePackageList $PACKAGEDIR "$PACKAGES")
RPMSGR=$(prunePackageList $PACKAGEDIR "$PACKAGESGR")
rm -rf $DEST; mkdir -p $DEST/usr/sbin
-rm -rf $DESTGR; mkdir -p $DESTGR/usr/sbin $DESTGR/var/state
-ln -s /tmp $DESTGR/var/state/xkb
+rm -rf $DESTGR; mkdir -p $DESTGR/usr/sbin $DESTGR/var/lib
+ln -s /tmp $DESTGR/var/lib/xkb
echo -n "Expanding packages..."
expandPackageSet "$RPMS" $DEST $KEEPFILE
@@ -467,6 +467,10 @@ LC_ALL=C comm -13 $DESTGR/locales $DESTGR/locales.list | xargs rm -rf
); done
rm -f $DESTGR/locales $DESTGR/locales.list
+# Remove unneeded XFree86 modules
+rm -rf $DESTGR/usr/X11R6/lib/modules/dri
+rm -f $DESTGR/usr/X11R6/lib/modules/extensions/lib{GLcore,glx,pex5}*
+
echo "Running mkfontdir..."
if [ -n "$NEEDGR" ]; then
for I in $DESTGR/usr/X11R6/lib/X11/fonts/* $DESTGR/usr/share/fonts/ISO8859-2/* $DESTGR/usr/share/fonts/ISO8859-9/*; do