diff options
author | jakub <jakub> | 2000-01-10 13:56:56 +0000 |
---|---|---|
committer | jakub <jakub> | 2000-01-10 13:56:56 +0000 |
commit | 79b4b003cb0a88b4577cd249a61fd684bf3f4f48 (patch) | |
tree | 8d0f5a7b196fc269c1ca9e87f1795ebe7a09e573 /upd-instroot | |
parent | e72e153e1211696c216eb6f421aa25f8da717131 (diff) | |
download | anaconda-79b4b003cb0a88b4577cd249a61fd684bf3f4f48.tar.gz anaconda-79b4b003cb0a88b4577cd249a61fd684bf3f4f48.tar.xz anaconda-79b4b003cb0a88b4577cd249a61fd684bf3f4f48.zip |
Misc sparc fixes.
Use stripped down gzread to uncompress .mo files when loading them, so
we don't have to gunzip them in the filesystem.
Diffstat (limited to 'upd-instroot')
-rwxr-xr-x | upd-instroot | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/upd-instroot b/upd-instroot index 85a6307de..ab24bc18b 100755 --- a/upd-instroot +++ b/upd-instroot @@ -37,6 +37,7 @@ pythondeps() { SRC=$1/RedHat/RPMS +mkdir -p ../trees/hdimage cd ../trees/hdimage DEST=$PWD cd - @@ -52,7 +53,7 @@ echo "DESTGR is $DESTGR" PACKAGES="glibc-2 ldconfig setup e2fsprogs-1 XFree86-libs XFree86-SVGA XFree86-S3 XFree86-S3V XFree86-Mach32 XFree86-Mach64 XFree86-FBDev XFree86-I128 XFree86-3DLabs XFree86-VGA16 - XFree86-Sun XFree86-75dpi-fonts XFree86-100dpi-fonts + XFree86-Sun XFree86-TGA XFree86-75dpi-fonts XFree86-100dpi-fonts XFree86-ISO8859-2 XFree86-cyrillic-fonts XFree86-3. xpm-3 glib- gtk+- gnome-libs python-1 newt imlib-1 libpng libtiff libjpeg- libtermcap-2 zlib rpm rpm-devel rpm-python ash- bash- @@ -64,6 +65,7 @@ PACKAGES="glibc-2 ldconfig setup e2fsprogs-1 XFree86-libs XFree86-SVGA KEEPFILE=/tmp/keepfile.$$ cat > $KEEPFILE <<EOF +sbin/ldconfig sbin/clock sbin/mkfs.ext2 sbin/mke2fs @@ -362,13 +364,12 @@ for p in $DEST $DESTGR; do rm -rf $p/boot $p/home $p/root $p/tmp - cp /sbin/ldconfig $p # Must create ld.so.conf, because ldconfig does not cache # dirs specified on the command line. touch $p/etc/ld.so.conf [ -d $p/usr/X11R6/lib ] && echo /usr/X11R6/lib > $p/etc/ld.so.conf - (cd $p; chroot $p ./ldconfig ) - rm -f $p/ldconfig $p/etc/ld.so.conf + (cd $p; chroot $p usr/sbin/ldconfig ) + rm -f $p/usr/sbin/ldconfig $p/etc/ld.so.conf for l in `find $p -exec file {} \; | sed -n 's/^\([^:]*\):.*ELF.*$/\1/p'`; do # Strip dwarf stuff, symbols and unneeded not-alloced sections @@ -380,6 +381,11 @@ for p in $DEST $DESTGR; do (cd /usr/share/zoneinfo; find . -type f -or -type l | grep '^./[A-Z]' | sort | sed 's/^..//' | gzip -9) > $p/usr/lib/timezones.gz + + for i in `find $p/usr/share/locale -name anaconda.mo`; do + gzip -9 $i + mv -f $i.gz $i + done done # always use passive mode for ftp installs @@ -452,6 +458,4 @@ ln -s /tmp $DESTGR/usr/X11R6/lib/X11/xkb/compiled ls [a-r]* | cpio --quiet -H crc -o | gzip -9 > sbin.cgz rm -f [a-r]* - find $DEST/usr/share/locale -name \*.mo | xargs gzip -9 - cp -a $HOMEDIR/anaconda-stub $DEST/usr/bin/anaconda |