Hello community, here is the log from the commit of package grub2 for openSUSE:Factory checked in at 2016-09-01 14:01:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grub2 (Old) and /work/SRC/openSUSE:Factory/.grub2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub2" Changes: -------- --- /work/SRC/openSUSE:Factory/grub2/grub2.changes 2016-08-26 23:15:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.grub2.new/grub2.changes 2016-09-01 14:01:23.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 31 15:40:28 UTC 2016 - m...@suse.com + +- binutils 2.27 creates empty modules without a symtab. + Add patch grub2-accept-empty-module.patch to not reject them. + +------------------------------------------------------------------- New: ---- grub2-accept-empty-module.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grub2.spec ++++++ --- /var/tmp/diff_new_pack.hRyyhw/_old 2016-09-01 14:01:25.000000000 +0200 +++ /var/tmp/diff_new_pack.hRyyhw/_new 2016-09-01 14:01:25.000000000 +0200 @@ -185,6 +185,7 @@ Patch71: grub2-menu-unrestricted.patch Patch72: grub2-mkconfig-arm.patch Patch73: 0001-dns-fix-buffer-overflow-for-data-addresses-in-recv_h.patch +Patch74: grub2-accept-empty-module.patch # Btrfs snapshot booting related patches Patch101: grub2-btrfs-01-add-ability-to-boot-from-subvolumes.patch Patch102: grub2-btrfs-02-export-subvolume-envvars.patch @@ -424,6 +425,7 @@ %patch71 -p1 %patch72 -p1 %patch73 -p1 +%patch74 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 ++++++ grub2-accept-empty-module.patch ++++++ Accept empty modules For the Xen platform the all_video.mod module is empty. With old binutils the .symtab section remained (containing only section symbols), so the check didn't trigger, but starting with binutils 2.27 not even a .symtab remains. As there are also no relocations that's no problem (and that is checked independendly). --- grub-2.02~beta3/util/grub-module-verifierXX.c.mm 2016-02-11 10:57:41.000000000 +0000 +++ grub-2.02~beta3/util/grub-module-verifierXX.c 2016-08-31 15:26:36.000000000 +0000 @@ -199,7 +199,8 @@ check_symbols (const struct grub_module_ Elf_Shdr *s = find_section (arch, e, ".moddeps"); if (!s) - grub_util_error ("no symbol table and no .moddeps section"); + /*grub_util_error ("no symbol table and no .moddeps section");*/ + return; /* An empty module happens for all_video.module for Xen */ if (!s->sh_size) grub_util_error ("no symbol table and empty .moddeps section");