Revert "Drop paxctl"

This reverts commit ae666b0c23.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-06-08 15:23:20 +01:00
parent 772237d99f
commit 5e00841da0
6 changed files with 98 additions and 0 deletions

View File

@@ -100,6 +100,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
-mkdir -pv /etc/default
install -m 644 $(DIR_SRC)/config/grub2/default /etc/default/grub
# Disable hardening.
paxctl -Cmpes /usr/sbin/grub-bios-setup /usr/sbin/grub-probe
paxctl -Cmpexs /usr/bin/grub-script-check
# We don't need to install unifont just to generate a grub2 compatible
# font archive for the graphical boot menu. The following command only
# converts Latin-1, Latin Extended A+B, Arrows, Box and Block characters.