Skip to content

Fixes for efivar on FreeBSD#7

Open
mkopec wants to merge 6 commits into
masterfrom
wip/3mdeb/freebsd-new-esrt-api
Open

Fixes for efivar on FreeBSD#7
mkopec wants to merge 6 commits into
masterfrom
wip/3mdeb/freebsd-new-esrt-api

Conversation

@mkopec
Copy link
Copy Markdown
Member

@mkopec mkopec commented Jul 7, 2021

  • Fixed compilation with FreeBSD built-in efivars - We have to use these, because rhboot/efivar doesn't actually work on FreeBSD, while libefivar included with FreeBSD is actually fully functional, despite outdated manpages
  • Fixed segfault resulting from trying to free a pointer returned by libefivar
  • Enabled polkit, which fixes update verification in fwupdmgr
  • Made fu_efivar_delete_impl and fu_efivar_delete_with_glob_impl behave more like their linux counterparts, added a missing g_set_error
  • Added a missing #include in plugins/uefi-capsule/fu-uefi-backend-freebsd.c

mkopec added 6 commits July 7, 2021 13:43
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
rhboot/efivar doesn't actually work on FreeBSD, while libefivar
included in FreeBSD is actually fully functional despite the
"not implemented" warnings in manpages.

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
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

Successfully merging this pull request may close these issues.

1 participant