systemd: mount the EFI variable filesystem
Add efivarfs to the mount_table in mount-setup.c, so the EFI variable filesystem will be mounted when systemd executed. The EFI variable filesystem will merge in v3.7 or v3.8 linux kernel. Cc: Kay Sievers <kay@vrfy.org> Cc: Lennart Poettering <lennart@poettering.net> Cc: Mantas Mikulėnas <grawity@gmail.com> Cc: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> Cc: Matt Fleming <matt.fleming@intel.com> Cc: Jeremy Kerr <jeremy.kerr@canonical.com> Cc: Matthew Garrett <mjg@redhat.com> Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
This commit is contained in:
committed by
Lennart Poettering
parent
2161de72c5
commit
f271dd9762
@@ -31,9 +31,10 @@
|
||||
#include "kmod-setup.h"
|
||||
|
||||
static const char * const kmod_table[] = {
|
||||
"autofs4", "/sys/class/misc/autofs",
|
||||
"ipv6", "/sys/module/ipv6",
|
||||
"unix", "/proc/net/unix"
|
||||
"autofs4", "/sys/class/misc/autofs",
|
||||
"ipv6", "/sys/module/ipv6",
|
||||
"efivarfs", "/sys/firmware/efi/efivars",
|
||||
"unix", "/proc/net/unix"
|
||||
};
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
|
||||
Reference in New Issue
Block a user