diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-15 17:47:02 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-15 17:47:02 +0000 |
commit | 751ddec0c7b678b0223421a8eaa18a78f056f6dc (patch) | |
tree | fb11549967ce962485371f9ffe8c3655a3f49449 /scripts/mk-images | |
parent | c8fbb9ce5f8285073058d8622c95438b375b8274 (diff) | |
download | anaconda-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-x | scripts/mk-images | 8 |
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 } |