]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkrescue.in: Add GPT for EFI boot.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 17 Apr 2013 17:08:31 +0000 (19:08 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 17 Apr 2013 17:08:31 +0000 (19:08 +0200)
ChangeLog
util/grub-mkrescue.in

index 9d77a7fa82b622b3cf2e001239504fc45bdbf112..eb92ae4a300605002b564b390a17e37b57899114 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-17  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * util/grub-mkrescue.in: Add GPT for EFI boot.
+
 2013-04-17  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/disk/efi/efidisk.c: Detect floppies by ACPI ID.
index 7270d7f60e07864d78bd1e85e92a7dac189f0a4a..c3ed39be96f4b3f6728a95f4123aef3e31e4485b 100644 (file)
@@ -421,7 +421,7 @@ if test -e "${efi64_dir}" || test -e "${efi32_dir}" || test -e "${ia64_dir}"; th
     mformat -C -f 2880 -L 16 -i "${iso9660_dir}"/efi.img ::
     mcopy -s -i "${iso9660_dir}"/efi.img ${efi_dir}/efi ::/
     rm -rf ${efi_dir}
-    grub_mkisofs_arguments="${grub_mkisofs_arguments} --efi-boot efi.img"
+    grub_mkisofs_arguments="${grub_mkisofs_arguments} --efi-boot efi.img -efi-boot-part --efi-boot-image"
 fi
 
 make_image_fwdisk "${ppc_dir}" powerpc-ieee1275 "${iso9660_dir}/boot/powerpc.elf" ""
@@ -443,7 +443,7 @@ EOF
     "$grub_render_label" -f "$label_font" -b "$label_bgcolor" -c "$label_color" -t "${product_name} ${product_version}" -o "${iso9660_dir}/System/Library/CoreServices/.disk_label"
     echo "${product_name} ${product_version}" > "${iso9660_dir}/System/Library/CoreServices/.disk_label.contentDetails"
     if [ "$system_area" = common ]; then
-       grub_mkisofs_arguments="${grub_mkisofs_arguments} -hfsplus -hfsplus-file-creator-type chrp tbxj /System/Library/CoreServices/.disk_label"
+       grub_mkisofs_arguments="${grub_mkisofs_arguments} -hfsplus -apm-block-size 2048 -hfsplus-file-creator-type chrp tbxj /System/Library/CoreServices/.disk_label"
     fi
 fi