diff options
Diffstat (limited to 'sys-boot/grub/files/grub-2.06-gentpl.py-Remove-.interp-section-from-.img-files.patch')
-rw-r--r-- | sys-boot/grub/files/grub-2.06-gentpl.py-Remove-.interp-section-from-.img-files.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sys-boot/grub/files/grub-2.06-gentpl.py-Remove-.interp-section-from-.img-files.patch b/sys-boot/grub/files/grub-2.06-gentpl.py-Remove-.interp-section-from-.img-files.patch deleted file mode 100644 index 8d543d4ea9b9..000000000000 --- a/sys-boot/grub/files/grub-2.06-gentpl.py-Remove-.interp-section-from-.img-files.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 28ad1f9b95799afc94fa178ec935e297da94cced Mon Sep 17 00:00:00 2001 -From: Nicholas Vinson <nvinson234@gmail.com> -Date: Fri, 13 Jan 2023 02:56:35 -0500 -Subject: [PATCH] gentpl.py: Remove .interp section from .img files. - -Whn building .img files, a .interp section from the .image files will -sometimes be copied into the .img file. This additional section pushes -the .img file beyond the 512-byte limit and causes grub-install to fail -to run for i386-pc platforms. - -Signed-off-by: Nicholas Vinson <nvinson234@gmail.com> ---- - gentpl.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/gentpl.py b/gentpl.py -index c86550d4f..823a8b5f8 100644 ---- a/gentpl.py -+++ b/gentpl.py -@@ -766,7 +766,7 @@ def image(defn, platform): - if test x$(TARGET_APPLE_LINKER) = x1; then \ - $(MACHO2IMG) $< $@; \ - else \ -- $(TARGET_OBJCOPY) $(""" + cname(defn) + """_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .MIPS.abiflags -R .reginfo -R .rel.dyn -R .note.gnu.gold-version -R .note.gnu.property -R .ARM.exidx $< $@; \ -+ $(TARGET_OBJCOPY) $(""" + cname(defn) + """_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .MIPS.abiflags -R .reginfo -R .rel.dyn -R .note.gnu.gold-version -R .note.gnu.property -R .ARM.exidx -R .interp $< $@; \ - fi - """) - --- -2.39.0 - |