Re: git: 74a6bb524e5b - main - Makefile: Don't allow install{world,kernel} with pkgbase
Date: Mon, 20 Oct 2025 15:09:41 UTC
Warner Losh wrote in <CANCZdfoJSHrOWX+uZeFT6_UwfFi4yv8h+eKY9nUfB0oeHYQNPg@mail.gmail.com>:
> On Mon, Oct 20, 2025, 8:42 AM Lexi Winter <ivy@freebsd.org> wrote:
> > John Baldwin wrote in <228220a0-c819-4c51-92d3-5357e925c81d@FreeBSD.org>:
> > > On 10/17/25 15:14, Lexi Winter wrote:
> > > > Makefile: Don't allow install{world,kernel} with pkgbase
> > > Can we document how users who want to build from source can do so
> > > from a new installation that uses pkgbase?
>
> Install* should eventually just do the right thing like ports: stage the
> packages, make the packages and the install from the packages. 16 time
> frame, though.
we'll see how things go, but i'm not sure this is the right approach.
"make installworld" does one thing, and overloading it to do two things
seems like it might be more confusing than helpful.
i'd rather people who want to update pkgbase from source just learn
the right way to do that, which is make update-packages followed by
pkg upgrade.