Date: Sun, 26 Aug 2018 14:18:18 -0700 From: Mark Millard <marklmi@yahoo.com> To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> 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: <4625B3CC-CF7C-4AB0-96F1-29AE6AAEDF57@yahoo.com> In-Reply-To: <868t4sq5tk.fsf@next.des.no> References: <3E8E48A0-4CE1-4641-8DF7-79B6BAF52AFF@yahoo.com> <868t4sq5tk.fsf@next.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-Aug-26, at 12:35 PM, Dag-Erling Sm=C3=B8rgrav <des at des.no> = wrote: > Mark Millard <marklmi at 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 . >=20 > It was added to build(7) in r338043: Thanks for the notes. Sure enough I see it in /usr/src/share/man/man7/build.7 . Not sure how I missed it in the man output. I thought that I also searched for it via the command line. It looks like: = https://www.freebsd.org/cgi/man.cgi?query=3Dbuild&apropos=3D0&sektion=3D7&= manpath=3DFreeBSD+12-current&arch=3Ddefault&format=3Dhtml lags (2017-Dec-24) so I should not depend on such having recent updates. (Good to know.) > 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 = interpreter > is compiled into userboot. >=20 >> 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. >=20 > 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. [Looks like userboot is /boot/userboot.so and is associated with = bhyvload.] >> (This assumes that all the changes are in the freebsd-ufs partition >> involved and that the freebsd-boot partition involved need not be >> updated.) >=20 > The freebsd-boot partition contains the code that loads the loader and > should not need updating. Thanks again. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4625B3CC-CF7C-4AB0-96F1-29AE6AAEDF57>