When booting an EFI-stubbed kernel outside of an ESP, we always get:

  WARNING: efi-loader: var-file: Cannot persist EFI variables without
  system partition

A warning is arguably a bit harsh, because one still benefits from
keeping the MMU enabled and the other EFI runtime services, so bump to a
notice log level instead.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 efi/loader/efi_var_file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/efi/loader/efi_var_file.c b/efi/loader/efi_var_file.c
index 652354693ae7..e0dec999b779 100644
--- a/efi/loader/efi_var_file.c
+++ b/efi/loader/efi_var_file.c
@@ -59,7 +59,7 @@ efi_status_t efi_var_to_file(void)
        dirfd = efiloader_esp_mount_dir();
        if (dirfd < 0) {
                if (!once) {
-                       pr_warn("Cannot persist EFI variables without system 
partition\n");
+                       pr_notice("Cannot persist EFI variables without system 
partition\n");
                        once = true;
                }
                efiret = EFI_NO_MEDIA;
-- 
2.47.3


Reply via email to