]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - grub/grub.nm
samba: build with needed packages
[people/amarx/ipfire-3.x.git] / grub / grub.nm
index 59893e2bcc3bcf27e1c2b26b316465395950caf5..cd3974347ceb303eba38eaf0a0bd21adea54b848 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = grub
 version    = 2.00
-release    = 4
+release    = 5.1
 sup_arches = x86_64 i686
 
 groups     = System/Boot
@@ -60,6 +60,7 @@ build
                --disable-werror \
                CFLAGS="$(echo %{CFLAGS} | sed \
                        -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' \
+                       -e 's/-fstack-protector-strong//g' \
                        -e 's/-fstack-protector-all//g' \
                        -e 's/-fstack-protector//g' \
                        -e 's/-fPIC//g' \
@@ -97,6 +98,9 @@ build
                paxctl -mpes \
                        %{BUILDROOT}%{sbindir}/grub-bios-setup \
                        %{BUILDROOT}%{sbindir}/grub-probe
+
+               paxctl -mpex \
+                       %{BUILDROOT}%{bindir}/grub-script-check
        end
 
        debuginfo_strict_build_id = false