From 9bd6fa0f26d9db1699a5f39fb63d6783a94d5a34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Donval?= Date: Mon, 31 Oct 2022 16:14:00 +0000 Subject: [PATCH] Add /efi in the hidding list when (fs=host) When filesystem=host access is provided, some root folders are hidden, including /boot. The bootloader specification now recommends mounting the system EFI filesystem in /efi (currently visible) instead of /boot/efi (currently hidden). This hides /efi for the same reasons /boot is already hidden. (cherry picked from commit 397c97de9f6dc55e676695a15ca419d9dd806901) --- common/flatpak-context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/flatpak-context.c b/common/flatpak-context.c index 1a58cf37..c366641e 100644 --- a/common/flatpak-context.c +++ b/common/flatpak-context.c @@ -2435,8 +2435,8 @@ flatpak_context_make_sandboxed (FlatpakContext *context) } const char *dont_mount_in_root[] = { - ".", "..", "lib", "lib32", "lib64", "bin", "sbin", "usr", "boot", "root", - "tmp", "etc", "app", "run", "proc", "sys", "dev", "var", NULL + ".", "..", "lib", "lib32", "lib64", "bin", "sbin", "usr", "boot", "efi", + "root", "tmp", "etc", "app", "run", "proc", "sys", "dev", "var", NULL }; static void