Re: Review D58990: freebsd-update: automatically update EFI and BIOS bootloaders on install

From: Ronald Pagani Jr (ronald.pagani.jr) <ronald.pagani.jr_at_dev.us.com>
Date: Thu, 20 Aug 2026 07:57:19 UTC
On Wed, Aug 19, 2026 at 10:42 PM Marco Moock <mm@dorfdsl.de> wrote:

> Am 19.08.26 um 18:30 schrieb Ronald Pagani Jr (ronald.pagani.jr):
> > The problem: freebsd-update updates /boot/loader.efi on the root
> > filesystem,
>
> Why is that located there if it is redundant on the ESP?
> Chainloading?
>

As I understand it, `/boot/loader.efi' is the location where the .efi
update is written.  We need some mechanism for that .efi to land it in ESP.



> > but the UEFI firmware boots from loader.efi on the EFI System
> > Partition — a separate FAT32 partition that freebsd-update never touches.
>
> How do pkgbasified systems handle this?
>

pkgbase is out of scope for this; pkgbase package would need post-install
hook implementation (FreeBSD-loader)


-- 
> Gruß
> Marco
>
> Junk-Mail bitte an trashcan@stinkedores.dorfdsl.de
>