grub: Disable hardening for grub-script-check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2016-01-10 19:35:42 +00:00
parent 1d9be34e2a
commit b75b6382ab
2 changed files with 4 additions and 0 deletions

View File

@@ -37,6 +37,9 @@ done
# Extract files
extract_files
# Fix hardening flags in grub
paxctl -mpexs /usr/bin/grub-script-check
# Update Language cache
# /usr/local/bin/update-lang-cache

View File

@@ -101,6 +101,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Disable hardening.
paxctl -mpes /usr/sbin/grub-bios-setup /usr/sbin/grub-probe
paxctl -mpexs /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