summaryrefslogtreecommitdiffstats
path: root/scripts/upd-instroot
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-05-07 18:31:50 +0000
committerJeremy Katz <katzj@redhat.com>2004-05-07 18:31:50 +0000
commit4d64ad41432128c19fd851f4cd376d984ec666b6 (patch)
tree9ee558e070411fac83fd6b9e4d89ac880ab564b0 /scripts/upd-instroot
parent94a08d6fb48aaa99ea11da85ef2272f4851d839c (diff)
more trying to fix memtest86+
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 a3870f0ca..f554d16ab 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -986,6 +986,14 @@ for p in $DEST $DESTGR; do
cp -af $p/boot/efi/EFI/redhat//* $p/usr/lib/anaconda-runtime/boot
fi
+ # copy bootloader files for i386/x86_64
+ if [ $ARCH = i386 -o $ARCH = x86_64 ]; then
+ if [ $p = $DESTGR ]; then
+ mkdir -p $p/usr/lib/anaconda-runtime/boot
+ cp -af $p/boot/memtest* $p/usr/lib/anaconda-runtime/boot
+ fi
+ fi
+
rm -rf $p/boot $p/home $p/root $p/tmp
find $p -name "*.a" | grep -v "usr/X11R6/$LIBDIR/modules" | xargs rm -rf