Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2019 18:54:12 -0600
From:      Rebecca Cran <rebecca@bluestop.org>
To:        Warner Losh <imp@bsdimp.com>, Garrett Cooper <yaneurabeya@gmail.com>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, "freebsd-arch@freebsd.org" <arch@freebsd.org>
Subject:   Re: Adding a new efi-update-loader script: need help understanding Makefile.inc1 for "make installworld"
Message-ID:  <49d1a599-b479-edb1-a88f-48cae19b55af@bluestop.org>
In-Reply-To: <CANCZdfrHrHcgYnY4nCHQSr5Yxd_7605NzvWBWDtC7hJ-fYcuqg@mail.gmail.com>
References:  <642fed43-0535-9ae3-6f01-a943650cd511@bluestop.org> <20190324090103.GO1923@kib.kiev.ua> <e6695237-6a22-3ff0-b113-9efeee05a51a@bluestop.org> <CANCZdfq1vb2-R-R4AZyoqi_940GCooMuhXyjCgSkHSusic5p_w@mail.gmail.com> <5cda4bb9-c10e-2b44-65db-5a9f29f498d8@bluestop.org> <CEADFA63-9086-4EC6-A204-2A49254741B0@gmail.com> <CANCZdfrHrHcgYnY4nCHQSr5Yxd_7605NzvWBWDtC7hJ-fYcuqg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/24/19 6:51 PM, Warner Losh wrote:

>
> On Sun, Mar 24, 2019, 6:32 PM Enji Cooper <yaneurabeya@gmail.com 
> <mailto:yaneurabeya@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49d1a599-b479-edb1-a88f-48cae19b55af>