Re: installing world from src on a pkgbase system

From: Pat Maddox <pat_at_patmaddox.com>
Date: Thu, 26 Mar 2026 19:05:41 UTC
On Thu, Mar 26, 2026, at 9:52 AM, Mark Millard wrote:
> On 3/26/26 04:30, polyduekes@proton.me wrote:
>> On Thursday, March 26th, 2026 at 3:26 AM, Lexi Winter <ivy@freebsd.org> wrote:
>> 
>>> polyduekes@proton.me wrote in <m-cS1PTzow3fGVjDOpYyn6W_o4S1wWeW_rAts1LiWRgqkb4CXug6y8weHusL07G9vt2l5WGX76OF2C-JckHufUvwSqJ4511_3wNZ81QeOz4=@proton.me>:
>>>> is needing to do both buildworld and buildkernel to create a pkg repo
>>>> the intended behaviour or is that planned to change
>>>
>>> right now i don't believe there are any plans to change that.  i suppose
>>> it might change in the future.  usually people want to build both the
>>> world and the kernel, so this isn't an oft-requested feature.
>>>
>>> could you elaborate on why you want to build world but not kernel?
>>> this would help inform development efforts in that area.
>>>
>> i usually make my own changes to base code to test some things and learn a few others,and most of the time the changes i make touch only world and dont touch kernel at all,so i like to avoid unnecessary compilation of the binaries and things i didn't change and doing only make buildworld and not make buildkernel buildworld is part of that reason
>
> Are you aware of META_MODE for buildworld and buildkernel (with its use
> of filemon.ko)? Its purpose is to keep track of things and so generally
> rebuild what is necessary but avoid rebuilding what is not. For example,
> back to back rebuilds have the second one not taking very long based on
> the lack of changes.

How long is "not very long" in your experience?

Pat