mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 09:52:58 +02:00
grub: Disable hardening for grub-script-check
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
1
lfs/grub
1
lfs/grub
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user