[PATCH] Teach upd-instroot about i586 arch, for sake of glibc.i586/openssl.i586

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 scripts/upd-instroot |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index c7c6ae5..a26a523 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
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux