SHA256
1
0
forked from pool/syslinux

Accepting request 652279 from home:marxin:branches:system:install:head

- Add remove-note-gnu-section.patch: strip a newly added section
  in order to fulfil ELF size limits expected.

OBS-URL: https://build.opensuse.org/request/show/652279
OBS-URL: https://build.opensuse.org/package/show/system:install:head/syslinux?expand=0&rev=97
This commit is contained in:
Steffen Winterfeldt 2018-11-29 12:59:25 +00:00 committed by Git OBS Bridge
parent b93ca7d303
commit 2b36079380
3 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/mbr/Makefile b/mbr/Makefile
index be2bded7..59e06915 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -36,7 +36,7 @@
$(LD) $(LDFLAGS) -T mbr.ld -e _start -o $@ $<
%.bin: %.elf checksize.pl
- $(OBJCOPY) -O binary $< $@
+ $(OBJCOPY) -O binary --remove-section .note.gnu.property $< $@
$(PERL) checksize.pl $@
$(CHMOD) -x $@

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 28 09:03:05 UTC 2018 - Martin Liška <mliska@suse.cz>
- Add remove-note-gnu-section.patch: strip a newly added section
in order to fulfil ELF size limits expected.
-------------------------------------------------------------------
Mon Aug 6 07:35:52 UTC 2018 - schwab@suse.de

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -60,6 +60,7 @@ Patch18: %{name}-%{version}-align.diff
Patch19: syslinux-4.04-reproducible.patch
Patch20: %{name}-%{version}-python3.diff
Patch21: sysmacros.patch
Patch22: remove-note-gnu-section.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -97,6 +98,7 @@ Authors:
%patch19 -p1
%patch20 -p0
%patch21 -p1
%patch22 -p1
%build
cp %{SOURCE2} .