diff --git a/initrd/etc/fstab b/initrd/etc/fstab index 43d34e01..69987bdd 100644 --- a/initrd/etc/fstab +++ b/initrd/etc/fstab @@ -3,3 +3,4 @@ devpts /dev/pts devpts defaults 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 efivarfs /sys/firmware/efi/efivars efivarfs defaults 0 0 +securityfs /sys/kernel/security securityfs defaults 0 0 diff --git a/initrd/init b/initrd/init index 660e4dfe..c5cda607 100755 --- a/initrd/init +++ b/initrd/init @@ -16,6 +16,8 @@ mkdir /proc /sys /dev /tmp /boot /media 2>&- 1>&- mount /dev 2>/dev/ttyprintk mount /proc 2>/dev/ttyprintk mount /sys 2>/dev/ttyprintk +mount /sys/kernel/security 2>/dev/ttyprintk + if [ "$CONFIG_LINUXBOOT" = "y" ]; then mount /sys/firmware/efi/efivars fi