summaryrefslogtreecommitdiffstats
path: root/scripts/buildinstall
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/buildinstall')
-rwxr-xr-xscripts/buildinstall5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall
index 91d1bedff..0c398abcc 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -37,13 +37,14 @@ else
fi
MK_IMAGES=$BUILDINSTDIR/mk-images
+echo "Building images..."
+$UPD_INSTROOT $p/RedHat/RPMS $p/image-template $p/RedHat/instimage
+
# XXX hack - msw
if [ $BUILDARCH = "sparc" ]; then
BUILDARCH=sparc64
fi
-echo "Building images..."
-$UPD_INSTROOT $p/RedHat/RPMS $p/image-template $p/RedHat/instimage $BUILDARCH
if [ -x /usr/bin/runroot ]; then
runroot dist-7.0 --arch $BUILDARCH "cd $BUILDINSTDIR\; ./mk-images $p/RedHat/RPMS $p $p/image-template $BUILDARCH"
else