Adding a new efi-update-loader script: need help understanding Makefile.inc1 for "make installworld"

Rebecca Cran rebecca at bluestop.org
Mon Mar 25 00:54:15 UTC 2019


On 3/24/19 6:51 PM, Warner Losh wrote:

>
> On Sun, Mar 24, 2019, 6:32 PM Enji Cooper <yaneurabeya at gmail.com 
> <mailto:yaneurabeya at gmail.com>> wrote:
>
>
>
>         I was wondering about builds from scratch, as well—images
>     completely lacking boot blocks like Jenkins builds.
>
>
> You wouldn't run installloader on those. It's also a reason I don't 
> want to guess too much...


The script as it is looks for partitions of type 'efi' which have a 
FreeBSD \efi\boot\boot${arch}.efi or \efi\freebsd\loader.efi, and if 
they exist it'll update them - the assumption being that booting FreeBSD 
already works, since it's been installed/configured via the installer or 
some other method.


-- 
Rebecca Cran



More information about the freebsd-hackers mailing list