From 2c65d67d6efe3f3aac4bd278c10adca03bb2d308 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 25 Apr 2008 11:29:15 -0400 Subject: Don't dd the image from /dev/zero _and_ use "mkdosfs -C " --- scripts/mk-images.efi | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts/mk-images.efi') 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 -- cgit