diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-05 19:20:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-05 19:20:59 +0000 |
commit | 0611870db9c3e360b72ee4ec8819855a7e20ee7c (patch) | |
tree | 9a32d29c7405b8b8fbd921dd4ef1187002418c9f /scripts | |
parent | a7b3127a955631ea809fab982a5e71527e85bbcf (diff) | |
download | anaconda-0611870db9c3e360b72ee4ec8819855a7e20ee7c.tar.gz anaconda-0611870db9c3e360b72ee4ec8819855a7e20ee7c.tar.xz anaconda-0611870db9c3e360b72ee4ec8819855a7e20ee7c.zip |
don't ask, don't tell, don't pursue
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mk-images | 8 |
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)" |