Index | Thread | Search

From:
Maximo Pech <makzpj@gmail.com>
Subject:
Re: sysutils/efivar: new feature, delete EFI variables
To:
ports@openbsd.org, sergii.dmytruk@3mdeb.co
Date:
Mon, 10 Mar 2025 09:37:42 -0600

Download raw body.

Thread
Bumping this as it seems the maintainer for this port is unreachable
at the moment.

El mié, 5 mar 2025 a las 11:12, Maximo Pech (<makzpj@gmail.com>) escribió:
>
> Some people including myslef reported on @misc that installboot fails
> on recent snapshots.
>
> After some investigation I found a work around: deleting an unused EFI variable.
>
> I also found that this is not possible with efivar in its current
> state, however the kernel support for that operation is there as well
> as most of the required code in efivar. So it was just a matter of
> adding some code. It's not suitable for upstream since they use sysfs
> and the OpenBSD port uses ioctl.
>
> Added -r or --remove option because -d and -D are already taken.
>
> Tested it on a recent snapshot in single user mode, as securelevel > 0
> won't let you set EFI variables.
>
> This is the first time I submit something like this so I may be
> getting some things wrong. Feedback welcome.