FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-19-2009, 11:43 PM
Jesse Keating
 
Default Teach upd-instroot about i586 arch, for sake of glibc.i586/openssl.i586

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org