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.