mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 02:54:47 +00:00
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.
This commit is contained in:
parent
7132122387
commit
25b49b6a6f
@ -274,7 +274,7 @@ fu_uefi_read_file_as_uint64 (const gchar *path, const gchar *attr_name)
|
|||||||
gboolean
|
gboolean
|
||||||
fu_uefi_check_esp_path (const gchar *path, GError **error)
|
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);
|
g_autoptr(GUnixMountEntry) mount = g_unix_mount_at (path, NULL);
|
||||||
if (mount == NULL) {
|
if (mount == NULL) {
|
||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
|
Loading…
Reference in New Issue
Block a user