summaryrefslogtreecommitdiff
path: root/core/syslinux/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-10-14 14:22:51 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-10-14 14:22:51 +0200
commit6060dc47f4c13fc3d94e9c8d481524e03b371be7 (patch)
treea934b6d86ef6241fc58a2e4e1bd81146aed842d8 /core/syslinux/PKGBUILD
parent79ea66c11eb28078d7879822b7d783dad8c8eb7d (diff)
downloadpackages-6060dc47f4c13fc3d94e9c8d481524e03b371be7.tar.xz
core/syslinux: fix for too big MBR (FS#60405)
Diffstat (limited to 'core/syslinux/PKGBUILD')
-rw-r--r--core/syslinux/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/syslinux/PKGBUILD b/core/syslinux/PKGBUILD
index 410b180a..16d4f937 100644
--- a/core/syslinux/PKGBUILD
+++ b/core/syslinux/PKGBUILD
@@ -11,3 +11,15 @@ eval "$(
'
)"
+# binutils adds a nore.gnu.proprerty ELF section, this makes the MBR slightly
+# too big to fit on disk (see also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906414)
+
+source+=(syslinux-strip-gnu-property.patch)
+sha1sums+=('fb8e96b559516038e628ad55e0331e4c668205a8')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /patch.*efi_no_kbd/a patch -p1 < ../syslinux-strip-gnu-property.patch
+ '
+)"