diff options
author | Peter Jones <pjones@redhat.com> | 2008-04-25 15:41:11 -0400 |
---|---|---|
committer | Peter Jones <pjones@vroomfondel.internal.datastacks.com> | 2008-04-25 15:41:11 -0400 |
commit | badb2127f59c6b1078674db3269848cf8b4a7a66 (patch) | |
tree | 5c72e20437e011ff271c20093530722ce81f6f21 /scripts/mk-images.efi | |
parent | 2c65d67d6efe3f3aac4bd278c10adca03bb2d308 (diff) | |
download | anaconda-badb2127f59c6b1078674db3269848cf8b4a7a66.tar.gz anaconda-badb2127f59c6b1078674db3269848cf8b4a7a66.tar.xz anaconda-badb2127f59c6b1078674db3269848cf8b4a7a66.zip |
Don't use size to determine if a partition is an EFI system partition; instead,
check that it's not our install image.
Diffstat (limited to 'scripts/mk-images.efi')
-rwxr-xr-x | scripts/mk-images.efi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mk-images.efi b/scripts/mk-images.efi index c36b90bb7..29169752f 100755 --- a/scripts/mk-images.efi +++ b/scripts/mk-images.efi @@ -123,7 +123,7 @@ 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" - mkdosfs -n EFI -C $MBD_FILENAME $BOOTDISKSIZE >/dev/null + mkdosfs -n ANACONDA -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 } |