Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2025 15:09:20 +0000
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        John Baldwin <jhb@freebsd.org>,  src-committers <src-committers@freebsd.org>,  "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>,  "<dev-commits-src-main@freebsd.org>" <dev-commits-src-main@freebsd.org>
Subject:   Re: git: 74a6bb524e5b - main - Makefile: Don't allow install{world,kernel} with pkgbase
Message-ID:  <tay6sfxcr7wlzftytwjokj3yyjykremmw27fnt5zmnon22nub4@fjlgscm62z4z>
In-Reply-To: <CANCZdfoJSHrOWX%2BuZeFT6_UwfFi4yv8h%2BeKY9nUfB0oeHYQNPg@mail.gmail.com>
References:  <202510171914.59HJE0uo036247@gitrepo.freebsd.org> <228220a0-c819-4c51-92d3-5357e925c81d@FreeBSD.org> <aPZKLa0kTvovlqMP@amaryllis.le-fay.org> <CANCZdfoJSHrOWX%2BuZeFT6_UwfFi4yv8h%2BeKY9nUfB0oeHYQNPg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, Oct 20, 2025 at 08:59:36AM -0600, Warner Losh wrote:
> 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?  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)
> >
> > this should eventually be in the Handbook.
> 
> 
> 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.

Agreed with Warner here. If pkgbase is being used, it seems logical
that installworld/installkernel would create a new (or update) pkgbase
repo.

Otherwise, I can imagine a sceneario for HardenedBSD users
specifically who have used pkgbase in the past, but now wish to do a
src-based update. I feel like I myself am going to be answering an
unending stream of "why doesn't install{kernel,world} work on
HardenedBSD like it has always in the past?"

I'm somewhat thinking of reverting this commit until
install{kernel,world} are taught the notion of pkgbase. It just seems
like the kind of thing that's gonna surprise our users (in a
not-so-fun way.)

Thanks,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

Signal Username:  shawn_webb.74
Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50
https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmj2UJQACgkQ/y5nonf4
4fobPg//cpCYvlCzp039NYVtPTY9G/3+FmwAj34S39CWMTN3coOXC7Xy9ZFs4m5W
i/eO4woTDtf/TtGf9FvqMAL/lDtFPDXQ4/zpsLSHV6gVfu885el7wNesQVh7h2U2
QeKbOoRqXT+xF4MGR8AzZKr1YPxAtq7ncAGlAcI6+dg32b+6fAOVQHg6Fg6t5hYp
g/fsqLM4B2abRIjjZN5/1cmthXz76Rzqh1gV9PFM5kpd0NGBWrB873J/XyryRNIi
2PcJ5eHuOey33378zNEYyyhtpOYG+IIZ3S34xNs5ljZG1KaMomzRWfuTxGTg4vIJ
FazcM6OvSvfSFEJW4Xoure0619EkkKwVT5x9HKXSnTMpD1kmDtdhZlu/E7ywlxS7
8LluP1zqWUvfcw2bWxFgnvogN7uKviO64m4ODhrapiF7ozmIPSIAvU/3mQ4aWBwU
4n67JBGMXBSROUuxMadSm/gCINpWzyXh8JYKYYLaXbDije7Vt0aodwU7mqX/O89w
KAbDjoeh/oExbkuqwKffCvz2rjsYV7lh1jZjSwHJM6uvi3I4Awd4UayVgtDDJyD5
+4z0dyc7o16xtVQliKDauHW02s4rUy1uZkCeNhyEA3oEhampnirI0IeDWDpJ3pif
x8ryL9K0HHaTO54DR316lZZWZ4eqfZEhsVwk9/Gha9Au8AnDIeI=
=PKK1
-----END PGP SIGNATURE-----
home | help

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