diff options
| author | Erik Troan <ewt@redhat.com> | 2000-10-04 20:57:32 +0000 |
|---|---|---|
| committer | Erik Troan <ewt@redhat.com> | 2000-10-04 20:57:32 +0000 |
| commit | 63b68390c88de1ea8084dade2ef14a839b3c9c70 (patch) | |
| tree | dd95ee7833534b85182e23b95f978fd23eda2eb0 /scripts | |
| parent | e3b762c03d7c7d928bfa269e130f5ee84cbd7914 (diff) | |
support kon
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/upd-instroot | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 334c86ca8..85700b0e0 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -88,8 +88,8 @@ rm -rf $DEST $DESTGR mkdir -p $DEST mkdir -p $DESTGR -PACKAGES="glibc setup openssl python newt libtermcap zlib ash - e2fsprogs util-linux raidtools locale-ja popt mount procps +PACKAGES="glibc setup openssl python newt libtermcap zlib ash kon2 + e2fsprogs util-linux raidtools popt mount procps rpm XFree86 Xconfigurator anaconda anaconda-runtime kudzu-devel kudzu db3 rpm-python bzip2 dosfstools pciutils" @@ -201,6 +201,7 @@ usr/lib/libnewt* usr/lib/libpopt* usr/lib/librpm.so* usr/lib/librpmio.so* +usr/lib/libslang* usr/lib/libz.* usr/lib/python* usr/lib/python1.5/site-packages/kudzumodule.so @@ -211,6 +212,7 @@ usr/lib/rpm/rpmrc usr/share/locale/*/LC_MESSAGES/anaconda.mo usr/sbin/anaconda usr/sbin/anaconda-runrescue +usr/share/doc/kon2*/terminfo.kon usr/share/kudzu/pcitable usr/share/pci.ids EOF @@ -456,6 +458,12 @@ expandPackageSet "$RPMS" $DEST $KEEPFILE expandPackageSet "$RPMSGR" $DESTGR $KEEPFILEGR echo -e "\rExpanding packages..." +if [ -f $DEST/usr/share/doc/kon2*/terminfo.kon ]; then + tic $DEST/usr/share/doc/kon2*/terminfo.kon -o $DEST/usr/share/terminfo + tic $DEST/usr/share/doc/kon2*/terminfo.kon -o $DESTGR/usr/share/terminfo + rm $DEST/usr/share/doc/kon2*/terminfo.kon +fi + echo "retrieving timezones" TZDIR=/tmp/glibc-timezone-$$ mkdir -p $TZDIR/usr/share/zoneinfo @@ -473,7 +481,13 @@ fi # Remove locales unused during the install cat $DESTGR/usr/lib/anaconda/lang-table* | awk ' -{ print $5; print gensub(/\..*$/,"","",$5); print gensub(/_.*$/,"","",$5); } +{ print $5; + print gensub(/\..*$/,"","",$5); + print gensub(/_.*$/,"","",$5); + if (split ($5, a, "\.") > 1) { + print gensub(/\..*$/,tolower("." a[2]),"",$5); + }; +} ' | LC_ALL=C sort -u > $DESTGR/locales for p in lib share; do ( cd $DESTGR/usr/$p/locale && { |
