wok view 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 source
1 diff --git a/gentpl.py b/gentpl.py
2 index 387588c..c86550d 100644
3 --- a/gentpl.py
4 +++ b/gentpl.py
5 @@ -766,7 +766,7 @@ def image(defn, platform):
6 if test x$(TARGET_APPLE_LINKER) = x1; then \
7 $(MACHO2IMG) $< $@; \
8 else \
9 - $(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 $< $@; \
10 + $(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 $< $@; \
11 fi
12 """)