systemd automatically mounts securityfs (if it's enabled)
This commit is contained in:
parent
fb7b7a2887
commit
497aeabd23
@ -65,7 +65,6 @@ mount -t sysfs none /sys
|
|||||||
mount -t devtmpfs -o "size=@devSize@" none /dev
|
mount -t devtmpfs -o "size=@devSize@" none /dev
|
||||||
mkdir -p /run
|
mkdir -p /run
|
||||||
mount -t tmpfs -o "mode=0755,size=@runSize@" none /run
|
mount -t tmpfs -o "mode=0755,size=@runSize@" none /run
|
||||||
mount -t securityfs none /sys/kernel/security
|
|
||||||
|
|
||||||
# Process the kernel command line.
|
# Process the kernel command line.
|
||||||
export stage2Init=/init
|
export stage2Init=/init
|
||||||
|
@ -361,6 +361,5 @@ in {
|
|||||||
system.requiredKernelConfig = with config.lib.kernelConfig; [
|
system.requiredKernelConfig = with config.lib.kernelConfig; [
|
||||||
(isYes "TMPFS")
|
(isYes "TMPFS")
|
||||||
(isYes "BLK_DEV_INITRD")
|
(isYes "BLK_DEV_INITRD")
|
||||||
(isYes "SECURITYFS")
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user