summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-15 17:47:02 +0000
committerBill Nottingham <notting@redhat.com>2001-01-15 17:47:02 +0000
commit751ddec0c7b678b0223421a8eaa18a78f056f6dc (patch)
treefb11549967ce962485371f9ffe8c3655a3f49449 /scripts/mk-images
parentc8fbb9ce5f8285073058d8622c95438b375b8274 (diff)
downloadanaconda-751ddec0c7b678b0223421a8eaa18a78f056f6dc.tar.gz
anaconda-751ddec0c7b678b0223421a8eaa18a78f056f6dc.tar.xz
anaconda-751ddec0c7b678b0223421a8eaa18a78f056f6dc.zip
gross hack for now until the kernel is fixed
Diffstat (limited to 'scripts/mk-images')
-rwxr-xr-xscripts/mk-images8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 82f753f77..b9b298b64 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -663,15 +663,17 @@ makemainimage () {
umount $mmi_mntpoint
if [ "$BUILDARCH" = "ia64" ]; then
- dd if=$mmi_tmpimage of=$INSTIMGPATH/${imagename}.img bs=1048576
+ ln -s $mmi_tmpimagename $INSTIMGPATH/${imagename}.img
else
cp $mmi_tmpimage $INSTIMGPATH/${imagename}.img
fi
chmod 644 $INSTIMGPATH/${imagename}.img
echo "Wrote $INSTIMGPATH/${imagename}.img (${SIZE}k)"
-
- rm $mmi_tmpimage
+
+ if [ "$BUILDARCH" != "ia64" ]; then
+ rm $mmi_tmpimage
+ fi
rmdir $mmi_mntpoint
}