Creating boot option for non-ACPI systems fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
efivar (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On an riscv64 emulated system with ACPI grub-install fails.
After enabling debug output I see the following log:
efivar: linux.c:464 device_get(): No such file or directory: could not access /sys/block/
efivar: util.h:324 get_file(): No such file or directory: could not open file "/sys/devices/
efivar: util.h:324 get_file(): No such file or directory: could not open file "/sys/devices/
efivar: linux-acpi.c:63 parse_acpi_
efivar: linux.c:509 device_get(): No such file or directory: parsing pci_root failed
efivar: creator.c:194 efi_va_
efivar: creator.c:349 efi_generate_
efibootmgr.c: efi.c:389 make_linux_
efibootmgr.c: efibootmgr.c:321 make_var(): No such file or directory: make_linux_
efibootmgr.c: efibootmgr.c:370 make_var(): No such file or directory: Could not set variable
Could not prepare Boot variable: No such file or directory
There is a bug in device_get() that leads to exiting after one of the parsers failing instead of continuing with the next parser.
I have created an upstream merge request
https:/
and a Debian merge request
https:/
tags: | added: fr-5044 |
tags: | added: foundations-todo |
Changed in efivar (Ubuntu): | |
assignee: | nobody → Heinrich Schuchardt (xypron) |
Changed in efivar (Ubuntu): | |
assignee: | Heinrich Schuchardt (xypron) → nobody |
tags: | removed: foundations-todo |
The package efivar - 37-6ubuntu3~ppa1 is available in ppa:xypron/gnu-efi.