[Bug 1184160] New: update-bootloader no longer detects U-Boot EFI
https://bugzilla.suse.com/show_bug.cgi?id=1184160 Bug ID: 1184160 Summary: update-bootloader no longer detects U-Boot EFI Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: snwint@suse.com Reporter: schwab@suse.de QA Contact: qa-bugs@suse.de CC: guillaume.gardet@opensuse.org Found By: --- Blocker: --- The heuristic in grub2-efi/install to detect U-Boot EFI no longer works, as modern U-Boot always exports various EFI variables. # ll /sys/firmware/efi/efivars/ total 0 -rw-r--r-- 1 root root 5 15. M�r 01:00 AuditMode-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r-- 1 root root 5 15. M�r 01:00 DeployedMode-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r-- 1 root root 12 15. M�r 01:00 OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r-- 1 root root 10 15. M�r 01:00 PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r-- 1 root root 10 15. M�r 01:00 PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r-- 1 root root 5 15. M�r 01:00 SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r-- 1 root root 5 15. M�r 01:00 SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c -rw-r--r-- 1 root root 5 15. M�r 01:00 VendorKeys-8be4df61-93ca-11d2-aa0d-00e098032b8c Not sure what would be a better way, but maybe the existence of the BootCurrent variable would work. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1184160 Guillaume GARDET <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guillaume.gardet@arm.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1184160 https://bugzilla.suse.com/show_bug.cgi?id=1184160#c1 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED URL| |https://trello.com/c/SR4I7T | |Eh --- Comment #1 from Steffen Winterfeldt <snwint@suse.com> --- Adding to YaST Scrum board. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1184160 https://bugzilla.suse.com/show_bug.cgi?id=1184160#c2 --- Comment #2 from Andreas Schwab <schwab@suse.de> --- Another possibility would be to check whether /sys/firmware/efi/efivars is writable. Since U-Boot EFI does not support EFI_RT_SUPPORTED_SET_VARIABLE, the kernel marks the efivars filesystem as read-only. # touch /sys/firmware/efi/efivars touch: setting times of '/sys/firmware/efi/efivars': Read-only file system -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1184160 https://bugzilla.suse.com/show_bug.cgi?id=1184160#c3 --- Comment #3 from Steffen Winterfeldt <snwint@suse.com> --- That looks like an idea; I have to add that writable test anyway. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1184160 https://bugzilla.suse.com/show_bug.cgi?id=1184160#c4 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS --- Comment #4 from Steffen Winterfeldt <snwint@suse.com> --- fix: https://github.com/openSUSE/perl-bootloader/pull/134 Please check if that works for you. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1184160 https://bugzilla.suse.com/show_bug.cgi?id=1184160#c5 --- Comment #5 from Andreas Schwab <schwab@suse.de> --- Looks good. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1184160 https://bugzilla.suse.com/show_bug.cgi?id=1184160#c6 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #6 from Steffen Winterfeldt <snwint@suse.com> --- ok, thanks -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1184160 Andreas F�rber <afaerber@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afaerber@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1184160 Jeffrey Cheung <jcheung@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcheung@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com