Root/package/grub/patches/002-strip_note_gnu_build_id.patch

1--- a/stage1/Makefile.in
2+++ b/stage1/Makefile.in
3@@ -427,7 +427,7 @@ uninstall-am: uninstall-info-am uninstal
4     uninstall-nodist_pkglibDATA
5 
6 .exec:
7- $(OBJCOPY) -O binary $< $@
8+ $(OBJCOPY) -O binary -R .comment -R .note -R .note.gnu.build-id $< $@
9 # Tell versions [3.59,3.63) of GNU make to not export all variables.
10 # Otherwise a system limit (for SysV at least) may be exceeded.
11 .NOEXPORT:
12--- a/stage2/Makefile.in
13+++ b/stage2/Makefile.in
14@@ -3244,7 +3244,7 @@ pxegrub: pxeloader diskless
15     -rm -f $@
16     cat $^ > $@
17 .exec:
18- $(OBJCOPY) -O binary $< $@
19+ $(OBJCOPY) -O binary -R .comment -R .note -R .note.gnu.build-id $< $@
20 # Tell versions [3.59,3.63) of GNU make to not export all variables.
21 # Otherwise a system limit (for SysV at least) may be exceeded.
22 .NOEXPORT:
23

Archive Download this file



interactive