From 25b49b6a6f33342339c5f114c1a298f064a66286 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Wed, 15 Aug 2018 11:10:12 -0500 Subject: [PATCH] uefi: Add 'autofs' to supported filesystems (Closes: #660) systemd-automount will unmount the ESP when not in use for some people. This causes automatic ESP detection to fail. In this case the ESP will need to be added to the conf file and then this commit will let it keep working. --- plugins/uefi/fu-uefi-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/uefi/fu-uefi-common.c b/plugins/uefi/fu-uefi-common.c index 66a60e3f0..c8a6556c7 100644 --- a/plugins/uefi/fu-uefi-common.c +++ b/plugins/uefi/fu-uefi-common.c @@ -274,7 +274,7 @@ fu_uefi_read_file_as_uint64 (const gchar *path, const gchar *attr_name) gboolean fu_uefi_check_esp_path (const gchar *path, GError **error) { - const gchar *fs_types[] = { "vfat", "ntfs", "exfat", NULL }; + const gchar *fs_types[] = { "vfat", "ntfs", "exfat", "autofs", NULL }; g_autoptr(GUnixMountEntry) mount = g_unix_mount_at (path, NULL); if (mount == NULL) { g_set_error (error,