From f45c651dd10cf1ad08272d8227298a1c01cb467d Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 26 Feb 2019 17:57:38 +0000 Subject: [PATCH] uefi: Fix the self tests when running on Fedora SilverBlue --- plugins/uefi/fu-uefi-vars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/uefi/fu-uefi-vars.c b/plugins/uefi/fu-uefi-vars.c index d776d05cb..ccd5f2208 100644 --- a/plugins/uefi/fu-uefi-vars.c +++ b/plugins/uefi/fu-uefi-vars.c @@ -64,7 +64,7 @@ fu_uefi_vars_set_immutable_fd (int fd, rc = ioctl (fd, FS_IOC_GETFLAGS, &flags); if (rc < 0) { /* check for tmpfs */ - if (errno == ENOTTY) { + if (errno == ENOTTY || errno == ENOSYS) { is_immutable = FALSE; } else { g_set_error (error,