On 10/17/25 15:14, Lexi Winter wrote:
The branch main has been updated by ivy:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=74a6bb524e5b9ad654a9acc5da5c195f406717b5

commit 74a6bb524e5b9ad654a9acc5da5c195f406717b5
Author:     Lexi Winter <[email protected]>
AuthorDate: 2025-10-17 19:06:17 +0000
Commit:     Lexi Winter <[email protected]>
CommitDate: 2025-10-17 19:13:13 +0000

     Makefile: Don't allow install{world,kernel} with pkgbase
Using these targets on a pkgbase system will cause the installed system
     to become out of sync with the package database, which is almost certain
     to cause issues the next time pkg(8) is used.
To prevent users doing this accidentally, disallow install* if we detect
     that FreeBSD-runtime is installed in the target.  The check can be
     overridden with DESTDIR=/ for users who are sure they want to do this.
MFC after: 3 days
     Reviewed by:    emaste
     Sponsored by:   https://www.patreon.com/bsdivy
     Differential Revision:  https://reviews.freebsd.org/D52879

Can we document how users who want to build from source can do so from a new 
installation
that uses pkgbase?  I guess it is something like:

- pkg install sources if not already (or git clone the right branch/tag)
- etcupdate bootstrap
- <destroy the pkgbase repo> (clearly can't just use pkg delete with a glob, so 
need
  something else)

--
John Baldwin


Reply via email to