Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2019 20:08:01 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Rebecca Cran <rebecca@bluestop.org>
Cc:        John Baldwin <jhb@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com>,  "freebsd-arch@freebsd.org" <arch@freebsd.org>, "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>,  FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Adding a new efi-update-loader script: need help understanding Makefile.inc1 for "make installworld"
Message-ID:  <CANCZdfqYPT595Goo2QVZw-7-OcytgCfu5GbbYtaLFi5X8Erk4A@mail.gmail.com>
In-Reply-To: <af6a6173-80fe-2adb-1c4b-fe7209d9fa13@bluestop.org>
References:  <20190324090103.GO1923@kib.kiev.ua> <201903250926.x2P9QgYK078736@gndrsh.dnsmgr.net> <CANCZdfqpyf%2BPNMjQG2KQLY_a2a8_2Syu0_kTanc4ARmB97JTMg@mail.gmail.com> <2c1aef87-5408-7736-9039-7fc6a1214102@FreeBSD.org> <CANCZdfrcO2vgD=t76kmgZW0w9At41wg9iyJyEma1THTaH%2BkD1g@mail.gmail.com> <ffdde530-b6e7-c455-2b60-9f490eac8cf3@FreeBSD.org> <CANCZdfpAhOLJZTsLZcM330GSkA460u3MCgWb5GwEfvX5cVSzAg@mail.gmail.com> <af6a6173-80fe-2adb-1c4b-fe7209d9fa13@bluestop.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 25, 2019, 6:40 PM Rebecca Cran <rebecca@bluestop.org> wrote:

> On 3/25/19 2:41 PM, Warner Losh wrote:
>
> >
> > Let's step back and do a complete design doc. I've started writing one up
> > and will post it when I'm done.
>
>
> It's probably worth at least taking a look at what Linux has done to
> support UEFI, Secure Boot, and its Default Boot Behavior
> (https://blog.uncooperative.org/blog/2014/02/06/the-efi-system-partition/)
>
> to see if there's anything we can learn, or leverage. Also, the shim
> (https://github.com/rhboot/shim) is BSD licensed, so we could use it if
> we wanted.
>


We started moving away from boot1.efi because it was duplicating all the
features of loader.efi, but without the interactive features.  Different
filesystems, crypto, boot order details, etc. It was a pita to maintain two
similar things with different enough details :(

this starts to move back to that, and I'm not sure that is a good idea.  It
seemed like the right choice, but maybe we could consider taking another
look at that... when it first arrived, boot1.efi could easily fit the
install once and forget forever. As the features grew, that assumption
changed.

This is why I'm putting together a design doc. There is no easy button
here. I thought it was no brainer yes to drop it and just use loader.efi,
but as things get more complicated I've become less sure...

Warner


> --
>
> Rebecca Cran
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqYPT595Goo2QVZw-7-OcytgCfu5GbbYtaLFi5X8Erk4A>