summaryrefslogtreecommitdiff
path: root/src/core/mount-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-02-13 23:07:59 +0100
committerLennart Poettering <lennart@poettering.net>2013-02-13 23:08:25 +0100
commitb872e9a05939bc3e0ac95a042592506a7488dd6f (patch)
tree53a2f851a45ab77af7c1893f50a1d706f37584f5 /src/core/mount-setup.c
parent46ba8aae2b82bc5c87ba347e6bf914ecd5e9d51e (diff)
build-sys: make EFI support build-time optional
Diffstat (limited to 'src/core/mount-setup.c')
-rw-r--r--src/core/mount-setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index 2cd0b60ba7..e7e2736615 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -77,8 +77,10 @@ static const MountPoint mount_table[] = {
NULL, MNT_FATAL|MNT_IN_CONTAINER },
{ "securityfs", "/sys/kernel/security", "securityfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
NULL, MNT_NONE },
+#ifdef ENABLE_EFI
{ "efivarfs", "/sys/firmware/efi/efivars", "efivarfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
is_efi_boot, MNT_NONE },
+#endif
{ "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME,
NULL, MNT_FATAL|MNT_IN_CONTAINER },
{ "devpts", "/dev/pts", "devpts", "mode=620,gid=" STRINGIFY(TTY_GID), MS_NOSUID|MS_NOEXEC,