]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/grub
grub: disable pax mprotect for grub.
[people/teissler/ipfire-2.x.git] / 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)