summaryrefslogtreecommitdiffstats
path: root/scripts/upd-instroot
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-04 19:59:51 +0000
committerMatt Wilson <msw@redhat.com>2000-07-04 19:59:51 +0000
commitd0ec31359b5476d73abece251e7a2772eafc2834 (patch)
tree9e927a622644cb1fe9dc1dec7acab3fbd617beb6 /scripts/upd-instroot
parente6e48a6bca36ead0e295ff2565b35ccc7ed733d4 (diff)
downloadanaconda-d0ec31359b5476d73abece251e7a2772eafc2834.tar.gz
anaconda-d0ec31359b5476d73abece251e7a2772eafc2834.tar.xz
anaconda-d0ec31359b5476d73abece251e7a2772eafc2834.zip
autoboot on alpha
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-xscripts/upd-instroot8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 0177d9ad5..51b8857f3 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -496,10 +496,18 @@ for p in $DEST $DESTGR; do
rm -rf $p/bin
rm -rf $p/sbin
+ # copy bootloader files for sparc
if [ $ARCH = sparc -a $p = $DESTGR ]; then
mkdir -p $p/usr/lib/anaconda-runtime/boot
(cd $p/boot; find -name "*.b") | (cd $p/boot; /bin/cpio --quiet -pdmu $p/usr/lib/anaconda-runtime/boot)
fi
+
+ # copy bootloader file for alpha
+ if [ $ARCH = alpha -a $p = $DESTGR ]; then
+ mkdir -p $p/usr/lib/anaconda-runtime/boot
+ cp -af $p/boot/bootlx $p/usr/lib/anaconda-runtime/boot
+ fi
+
rm -rf $p/boot $p/home $p/root $p/tmp
find $p -name "*.a" | grep -v "usr/X11R6/lib/modules" | xargs rm -rf