efivar: check that efivarfs is writeable
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 18 Mar 2022 14:21:33 +0000 (15:21 +0100)
committerMate Kukri <mate.kukri@canonical.com>
Tue, 23 Jun 2026 15:04:12 +0000 (16:04 +0100)
commitba2fd0bf8c569c09c3bcb6b107d332e70c79e218
treed077903cd25ee599780cb26a6560183180b53a7e
parent17832331b120e880a5746092dd0d946d537161ff
efivar: check that efivarfs is writeable

Some UEFI implementations (notably U-Boot) don't implement the
SetVariable() runtime service. On these systems the GRUB installation
must be completed manually. Write a warning in this case but avoid
throwing an error.  (LP: #1965288)

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Gbp-Pq: Name efivar-check-that-efivarfs-is-writeable.patch
grub-core/osdep/unix/efivar.c