diff --git a/debian/changelog b/debian/changelog index 504ab9533..4e7f33036 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ grub2 (1.99~rc1-12) UNRELEASED; urgency=low - Take extent offset in account on uncompressed extents. - Use filled extent size if available. * Allow use of first sector on btrfs (LP: #757446). + * Merge from Ubuntu: + - Build part_msdos and vfat into EFI boot images (LP: #677758). -- Colin Watson Mon, 11 Apr 2011 14:46:05 +0100 diff --git a/debian/patches/mkrescue_efi_modules.patch b/debian/patches/mkrescue_efi_modules.patch new file mode 100644 index 000000000..520bf055f --- /dev/null +++ b/debian/patches/mkrescue_efi_modules.patch @@ -0,0 +1,22 @@ +Description: Build part_msdos and vfat into EFI boot images +Author: Mario Limonciello +Bug-Ubuntu: https://bugs.launchpad.net/bugs/677758 +Forwarded: http://lists.gnu.org/archive/html/grub-devel/2011-01/msg00028.html +Last-Update: 2011-04-11 + +Index: b/util/grub-mkrescue.in +=================================================================== +--- a/util/grub-mkrescue.in ++++ b/util/grub-mkrescue.in +@@ -288,9 +288,9 @@ + mkdir -p "${efi_dir}/efi/boot" + + # build bootx64.efi +- make_image "${efi64_dir}" x86_64-efi "${efi_dir}"/efi/boot/bootx64.efi "" ++ make_image "${efi64_dir}" x86_64-efi "${efi_dir}"/efi/boot/bootx64.efi "part_msdos fat" + # build bootia32.efi +- make_image "${efi32_dir}" i386-efi "${efi_dir}"/efi/boot/bootia32.efi "" ++ make_image "${efi32_dir}" i386-efi "${efi_dir}"/efi/boot/bootia32.efi "part_msdos fat" + + mformat -C -f 2880 -L 16 -i "${iso9660_dir}"/efi.img :: + mcopy -s -i "${iso9660_dir}"/efi.img ${efi_dir}/efi ::/ diff --git a/debian/patches/series b/debian/patches/series index 51403a85f..2bbe4c40e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -33,3 +33,4 @@ host_optimise_flush.patch mkimage_yeeloong.patch loopback_replace.patch btrfs_reserved_sector.patch +mkrescue_efi_modules.patch