diff options
author | Peter Jones <pjones@redhat.com> | 2008-04-25 11:29:15 -0400 |
---|---|---|
committer | Peter Jones <pjones@vroomfondel.internal.datastacks.com> | 2008-04-25 11:29:15 -0400 |
commit | 2c65d67d6efe3f3aac4bd278c10adca03bb2d308 (patch) | |
tree | adbd365ae6637d5e3a4001983594fe06a7be5dde | |
parent | f1ce92ed10ca45b9037275ab069ef43878419836 (diff) | |
download | anaconda-2c65d67d6efe3f3aac4bd278c10adca03bb2d308.tar.gz anaconda-2c65d67d6efe3f3aac4bd278c10adca03bb2d308.tar.xz anaconda-2c65d67d6efe3f3aac4bd278c10adca03bb2d308.zip |
Don't dd the image from /dev/zero _and_ use "mkdosfs -C <image> <blockcount>"
-rwxr-xr-x | scripts/mk-images.efi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/mk-images.efi b/scripts/mk-images.efi index 77ce253b1..c36b90bb7 100755 --- a/scripts/mk-images.efi +++ b/scripts/mk-images.efi @@ -123,7 +123,6 @@ prepareEfiImage() { BOOTDISKSIZE=$(du -kcs $MBD_BOOTTREE_TMP | tail -n1 | awk '{print $1}') BOOTDISKSIZE=$(expr $BOOTDISKSIZE + 100) echo "The size of the efiboot.img dosfs is $BOOTDISKSIZE" - dd if=/dev/zero bs=1k count=$BOOTDISKSIZE of=$MBD_FILENAME 2>/dev/null mkdosfs -n EFI -C $MBD_FILENAME $BOOTDISKSIZE >/dev/null mount -o loop,shortname=winnt,umask=0077 -t vfat $MBD_FILENAME $MBD_BOOTTREE cp -R $MBD_BOOTTREE_TMP/* $MBD_BOOTTREE |