diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-04-01 18:10:42 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-04-01 18:10:42 +0000 |
commit | 19cc4e1837335e2664d4e5acfffca0d1d908b336 (patch) | |
tree | 644b89e56a3aeab15770712abd3aa90924b9721f /scripts/upd-instroot | |
parent | 1f8f7d63b418d635e5bcdaddbb0579a1772257bb (diff) | |
download | anaconda-19cc4e1837335e2664d4e5acfffca0d1d908b336.tar.gz anaconda-19cc4e1837335e2664d4e5acfffca0d1d908b336.tar.xz anaconda-19cc4e1837335e2664d4e5acfffca0d1d908b336.zip |
2005-04-01 Jeremy Katz <katzj@redhat.com>
* scripts/upd-instroot (PACKAGESGR): Add missing indic font packages
(LC_ALL): Use build-locale-archive to try to reduce the amount of
space needed for stage2
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-x | scripts/upd-instroot | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 59e8d9bf7..de380a251 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -394,6 +394,7 @@ usr/sbin/ofpath usr/sbin/ybin usr/sbin/load_policy usr/sbin/lvm +usr/sbin/build-locale-archive usr/share/anaconda/locale-list usr/share/anaconda/anaconda.conf usr/share/terminfo/b/bterm @@ -894,6 +895,20 @@ LC_ALL=C comm -13 $DESTGR/locales $DESTGR/locales.list | xargs rm -rf ); done rm -f $DESTGR/locales $DESTGR/locales.list +# now, create a locale archive and nuke the locale dirs since +# that ends up taking less space +for p in $DEST $DESTGR; do + echo "Building locale archive" + if [ -x /usr/bin/runroot -a -n "$COMPONENT" ]; then + runroot $COMPONENT --onlyone --arch $ARCH "/usr/sbin/chroot $p /usr/sbin/build-locale-archive" + else + chroot $p /usr/sbin/build-locale-archive + fi + mv $p/usr/lib/locale/locale-archive $p/usr/lib/locale-archive + rm -rf $p/usr/lib/locale/* + mv $p/usr/lib/locale-archive $p/usr/lib/locale/locale-archive +done + # Remove unneeded XFree86 modules rm -rf $DESTGR/usr/X11R6/$LIBDIR/modules/dri rm -f $DESTGR/usr/X11R6/$LIBDIR/modules/libscanpci.a |