Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating libefivar & efibootmgr for Android-x86 or BlissOS #251

Open
hmtheboy154 opened this issue Aug 31, 2023 · 0 comments
Open

Updating libefivar & efibootmgr for Android-x86 or BlissOS #251

hmtheboy154 opened this issue Aug 31, 2023 · 0 comments

Comments

@hmtheboy154
Copy link

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 replaced secure_getenv() with getenv() in efivarfs.c
  • On Android.mk, I updated it based on the updated Makefile, with extra -Wno-typedef-redefinition cflag for makeguids

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant