]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
grub: disable pax mprotect for grub.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 31 Aug 2013 09:17:14 +0000 (11:17 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 31 Aug 2013 09:17:14 +0000 (11:17 +0200)
lfs/grub

index 6850a3a58fd8091a57e51037b4e547198ee0fd4b..2b0544bd7c053cac6a754d2d2168b62f5410e5bc 100644 (file)
--- a/lfs/grub
+++ b/lfs/grub
@@ -95,5 +95,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # generate default file
        grub-set-default 0
 
+       # Disable PaX mprotect for grub
+       paxctl -m /usr/sbin/grub
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)