wok diff grub2/stuff/patches/gentpl.py-2.04 @ rev 24888
grub2: avoid grub-mkimage error: decompressor is too big
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:25:58 2022 +0100 (2022-04-02) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/grub2/stuff/patches/gentpl.py-2.04 Sat Apr 02 17:25:58 2022 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +diff --git a/gentpl.py b/gentpl.py 1.5 +index 387588c..c86550d 100644 1.6 +--- a/gentpl.py 1.7 ++++ b/gentpl.py 1.8 +@@ -766,7 +766,7 @@ def image(defn, platform): 1.9 + if test x$(TARGET_APPLE_LINKER) = x1; then \ 1.10 + $(MACHO2IMG) $< $@; \ 1.11 + else \ 1.12 +- $(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 .ARM.exidx $< $@; \ 1.13 ++ $(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 $< $@; \ 1.14 + fi 1.15 + """) 1.16 +