I wanted to read some of the linux EFI settings. W...
# core
s
I wanted to read some of the linux EFI settings. Which looks like it’s in
efivar
. Anyone looked at adding that library in?
This library is probably more than we'd need. I'll see about just parsing the files raw.
👍 1
t
I haven't looked into efivar in a while. The only case for bringing that in as a library would be if it supports parsing firmware variables other than those exposed in the efifs sysfs (/sys/firmware/efi). Otherwise, like you said, parsing the sysfs structure is way simpler.
s
Yeah… I was looking at the library before I realized how simple it is. Especially just to get boolean
secure_boot
settings.
I’m partly way through a PR. Working very slowly though things like string concatination