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

Rodney W. Grimes freebsd-rwg at gndrsh.dnsmgr.net
Wed Mar 27 08:47:31 UTC 2019


> On 3/26/19 12:21 AM, Rodney W. Grimes wrote:
> 
> >
> > The current BTX 1.1 is bit rot, that value has not changed in ages
> > and tells me nothing about what boot code I am running, why do we
> > even output it?
> 
> 
> Sure, but the fact it shows up as "FreeBSD/amd64 EFI loader, Revision 
> 1.1" in "strings /boot/loader.efi" shows one way we could easily embed a 
> useful version number.

Please go implement the placing of the version that is used to
cause uname -U to output 1200086 or whatever from /usr/sbin/uname
at build time, which is not an issue at all as far as reproducabile
builds as that version number is the same no mater how many times you
run the build.

This is the current defining value that says your kernel is compatible
with userland and should also be the defining value for if your boot
code is also compatible.

Thanks,
-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the freebsd-hackers mailing list