summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2009-02-19 16:23:31 -0800
committerJesse Keating <jkeating@redhat.com>2009-02-20 08:54:41 -0800
commite58d9d879fc80b89163d81b582a5e136269f76d6 (patch)
treec24abddb93860c69111bb88d0fcc69d68a161c9c /scripts
parent1ca1f5d1be34c9a70d80d1e9f8285431d25695e1 (diff)
downloadanaconda-e58d9d879fc80b89163d81b582a5e136269f76d6.tar.gz
anaconda-e58d9d879fc80b89163d81b582a5e136269f76d6.tar.xz
anaconda-e58d9d879fc80b89163d81b582a5e136269f76d6.zip
Teach upd-instroot about i586 arch, for sake of glibc.i586/openssl.i586
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upd-instroot14
1 files changed, 8 insertions, 6 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index c7c6ae501..a26a5231e 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -193,15 +193,17 @@ PACKAGES="GConf2 NetworkManager ORBit2 PolicyKit acl anaconda
if [ $ARCH = i386 ]; then
PACKAGES="$PACKAGES glibc.i386 openssl.i386"
+elif [ $ARCH = i586 ]; then
+ PACKAGES="$PACKAGES glibc.i586 openssl.i586"
else
PACKAGES="$PACKAGES glibc openssl"
fi
-if [ $ARCH = i386 -o $ARCH = x86_64 ]; then
+if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then
PACKAGES="$PACKAGES pcmciautils grub"
fi
-if [ $ARCH = i386 -o $ARCH = x86_64 -o $ARCH = ia64 ]; then
+if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 -o $ARCH = ia64 ]; then
PACKAGES="$PACKAGES dmidecode efibootmgr"
fi
@@ -234,7 +236,7 @@ PACKAGESRESCUE="bzip2 bzip2-libs dump libidn
device-mapper device-mapper-libs dmraid ntfsprogs samba-client
firstaidkit-plugin-all"
-if [ $ARCH = i386 -o $ARCH = x86_64 ]; then
+if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then
PACKAGESRESCUE="$PACKAGESRESCUE gpart grub"
fi
@@ -245,7 +247,7 @@ if [ $ARCH = sparc ]; then
PACKAGES="$PACKAGES tilo silo"
fi
-if [ $ARCH = i386 -o $ARCH = x86_64 ]; then
+if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then
PACKAGES="$PACKAGES syslinux memtest86+ grub"
fi
@@ -804,7 +806,7 @@ usr/$LIBDIR/firstaidkit/plugins/
usr/lib/python?.?/site-packages/pyfirstaidkit/
EOF
-if [ $ARCH = i386 -o $ARCH = x86_64 ]; then
+if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then
cat >> $KEEPFILERESCUE <<-EOF
sbin/grub
usr/bin/gpart
@@ -1004,7 +1006,7 @@ if [ $ARCH = ia64 ]; then
fi
# copy bootloader files for i386/x86_64
-if [ $ARCH = i386 -o $ARCH = x86_64 ]; then
+if [ $ARCH = i386 -o $ARCH = i586 -o $ARCH = x86_64 ]; then
mkdir -p $DEST/usr/lib/anaconda-runtime/boot
cp -af $DEST/boot/memtest* $DEST/usr/lib/anaconda-runtime/boot
fi