Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2019 18:55:47 -0600
From:      Rebecca Cran <rebecca@bluestop.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, arch@freebsd.org
Subject:   Re: Adding a new efi-update-loader script: need help understanding Makefile.inc1 for "make installworld"
Message-ID:  <6badde15-d8f4-c4ea-2061-0d3c80c6e82a@bluestop.org>
In-Reply-To: <20190325000241.GS1923@kib.kiev.ua>
References:  <642fed43-0535-9ae3-6f01-a943650cd511@bluestop.org> <20190324090103.GO1923@kib.kiev.ua> <e6695237-6a22-3ff0-b113-9efeee05a51a@bluestop.org> <20190325000241.GS1923@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/24/19 6:02 PM, Konstantin Belousov wrote:

>
> Having efi_update_loader alone would be fine, but I doubt that this
> script can do much except in situations where a lot of pre-assumptions
> are true.  I believe that despite all the efforts put into efibootmgr
> and installer, it is hard/impossible to make the script not dangerous,
> except if the whole configuration was created by our installer.


It currently does nothing except if there is one or more partitions of 
type 'efi' that contain a \efi\boot\boot${arch}.efi or 
\efi\freebsd\loader.efi that contain strings from the FreeBSD boot1.efi 
or loader.efi. Perhaps that's too much guessing, and we should only ever 
update /boot/msdos or /boot/efi or wherever we decide to mount it.


-- 
Rebecca Cran




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6badde15-d8f4-c4ea-2061-0d3c80c6e82a>