summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-05 19:20:59 +0000
committerBill Nottingham <notting@redhat.com>2001-01-05 19:20:59 +0000
commit0611870db9c3e360b72ee4ec8819855a7e20ee7c (patch)
tree9a32d29c7405b8b8fbd921dd4ef1187002418c9f /scripts/mk-images
parenta7b3127a955631ea809fab982a5e71527e85bbcf (diff)
downloadanaconda-0611870db9c3e360b72ee4ec8819855a7e20ee7c.tar.gz
anaconda-0611870db9c3e360b72ee4ec8819855a7e20ee7c.tar.xz
anaconda-0611870db9c3e360b72ee4ec8819855a7e20ee7c.zip
don't ask, don't tell, don't pursue
Diffstat (limited to 'scripts/mk-images')
-rwxr-xr-xscripts/mk-images8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index f8d0964eb..45477d09b 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -661,8 +661,12 @@ makemainimage () {
(cd $IMGPATH; find . | fgrep -v "./usr/lib/anaconda-runtime" |
cpio -H crc -o) | (cd $mmi_mntpoint; cpio -iumd)
umount $mmi_mntpoint
-
- cp $mmi_tmpimage $INSTIMGPATH/${imagename}.img
+
+ if [ "$BUILDARCH" = "ia64" ]; then
+ dd if=$mmi_tmpimage of=$INSTIMGPATH/${imagename}.img
+ else
+ cp $mmi_tmpimage $INSTIMGPATH/${imagename}.img
+ fi
chmod 644 $INSTIMGPATH/${imagename}.img
echo "Wrote $INSTIMGPATH/${imagename}.img (${SIZE}k)"