diff options
author | Matt Wilson <msw@redhat.com> | 2000-06-02 03:16:06 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-06-02 03:16:06 +0000 |
commit | dad831920698dbca09f67868f16776227c253ffc (patch) | |
tree | e7aad8061f107ade5edaeb9155719991afd327a0 /scripts/buildinstall | |
parent | e8225fe02ada8ff3cada3f28caa678da1f544a15 (diff) | |
download | anaconda-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-x | scripts/buildinstall | 8 |
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 |