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.
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
I’m partly way through a PR. Working very slowly though things like string concatination