summaryrefslogtreecommitdiffstats
path: root/scripts/buildinstall
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-02 03:16:06 +0000
committerMatt Wilson <msw@redhat.com>2000-06-02 03:16:06 +0000
commitdad831920698dbca09f67868f16776227c253ffc (patch)
treee7aad8061f107ade5edaeb9155719991afd327a0 /scripts/buildinstall
parente8225fe02ada8ff3cada3f28caa678da1f544a15 (diff)
downloadanaconda-dad831920698dbca09f67868f16776227c253ffc.tar.gz
anaconda-dad831920698dbca09f67868f16776227c253ffc.tar.xz
anaconda-dad831920698dbca09f67868f16776227c253ffc.zip
alpha boot disks (if the kernel would fit) are created
Diffstat (limited to 'scripts/buildinstall')
-rwxr-xr-xscripts/buildinstall8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall
index 722145d18..db481172c 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -15,6 +15,8 @@ mkdir -p $BUILDINSTDIR
UPD_INSTROOT=./upd-instroot
MK_IMAGES=./mk-images
+BUILDARCH=`rpm -qp --qf "%{ARCH}" $p/RedHat/RPMS/anaconda-runtime-[0-9]*`
+
if [ ! -f $UPD_INSTROOT ]; then
cd $BUILDINSTDIR
rpm2cpio $p/RedHat/RPMS/anaconda-runtime-[0-9]* | cpio --quiet -iumd usr/lib/anaconda-runtime/upd-instroot
@@ -31,8 +33,8 @@ if [ ! -f $MK_IMAGES ]; then
MK_IMAGES=$BUILDINSTDIR/mk-images
fi
-$UPD_INSTROOT $p/RedHat/RPMS $p/image-template $p/RedHat/instimage
-$MK_IMAGES $p/RedHat/RPMS $p $p/image-template
+$UPD_INSTROOT $p/RedHat/RPMS $p/image-template $p/RedHat/instimage $BUILDARCH
+$MK_IMAGES $p/RedHat/RPMS $p $p/image-template $BUILDARCH
rm -rf $BUILDINSTDIR
-rm -rf $p/image-template $p/RedHat/instimage/usr/lib/anaconda-runtime
+#rm -rf $p/image-template $p/RedHat/instimage/usr/lib/anaconda-runtime