Updating libefivar & efibootmgr for Android-x86 or BlissOS
Opened this issue · 0 comments
hmtheboy154 commented
Hi, I am trying to update efivar & efibootmgr repo for BlissOS. Back then we used to use the old fork that is on Android-x86 but now both projects will follow the master branch here. However, on efivar, I've made some changes :
- Because of C99 standard limitation on Android, I have to use sort_r() instead of
qsort_r()
. Also I replacedsecure_getenv()
withgetenv()
in efivarfs.c - On Android.mk, I updated it based on the updated Makefile, with extra
-Wno-typedef-redefinition
cflag formakeguids
Here is my fork
https://github.com/android-generic/external_efivar/commits/main
My question is that does switching from secure_getenv()
to getenv()
affect anything important to libefivar-static or efibootmgr ?