Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 21:35:35 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: head's /usr/src/UPDATING vs. "LOADER_DEFAULT_INTERP, documented in build(7)": not documented yet
Message-ID:  <868t4sq5tk.fsf@next.des.no>
In-Reply-To: <3E8E48A0-4CE1-4641-8DF7-79B6BAF52AFF@yahoo.com> (Mark Millard's message of "Sun, 26 Aug 2018 11:36:02 -0700")
References:  <3E8E48A0-4CE1-4641-8DF7-79B6BAF52AFF@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Millard <marklmi@yahoo.com> writes:
> But when I look at [...] the installed build(7) for head -r338319 I do
> not find any references to LOADER_DEFAULT_INTERP .

It was added to build(7) in r338043:

     LOADER_DEFAULT_INTERP  Defines what interpreter the default loader
                            program will have.  Valid values include =E2=80=
=9C4th=E2=80=9D,
                            =E2=80=9Clua=E2=80=9D, and =E2=80=9Csimp=E2=80=
=9D.  This creates the default link
                            for /boot/loader to the loader with that
                            interpreter.  It also determines what interpret=
er
                            is compiled into userboot.

> I have assumed that my long-in-use amd64 virtual-box context that I
> run and update FreeBSD in (under macOS) just automatically updated
> sufficiently via installkernel and installworld after building.

Correct.  The loader and its support files (4th and lua) are built by
'make buildworld' and installed by 'make installworld'.  The source code
is in /usr/src/stand.

> (This assumes that all the changes are in the freebsd-ufs partition
> involved and that the freebsd-boot partition involved need not be
> updated.)

The freebsd-boot partition contains the code that loads the loader and
should not need updating.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868t4sq5tk.fsf>