Title
#core
s

seph

07/03/2021, 12:11 AM
I wanted to read some of the linux EFI settings. Which looks like it’s in
efivar
. Anyone looked at adding that library in?
6:11 PM
This library is probably more than we'd need. I'll see about just parsing the files raw.
theopolis

theopolis

07/06/2021, 1:12 PM
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

seph

07/06/2021, 1:37 PM
Yeah… I was looking at the library before I realized how simple it is. Especially just to get boolean
secure_boot
settings.
1:37 PM
I’m partly way through a PR. Working very slowly though things like string concatination