From nobody Mon Oct 20 14:59:36 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cqz9h1SX4z6CYY6 for ; Mon, 20 Oct 2025 14:59:52 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cqz9g2wK3z3GWJ for ; Mon, 20 Oct 2025 14:59:51 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=LhUCcuqC; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::102b) smtp.mailfrom=wlosh@bsdimp.com Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-33067909400so3401706a91.2 for ; Mon, 20 Oct 2025 07:59:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1760972388; x=1761577188; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=UqG0SavFajylZ/ofWN/tOTtrwbNkON+gqs759iT1I1o=; b=LhUCcuqCNNxzNRzpx0YxrH5AcBBAEiwOWLqeJjGEXxLo/gf/xUixyjAvNrX5jd6xvv WAjBRm+ctfFJtpibYORIZHvQ2QA8R8XRAFJxQ3onZi3ArLuHd1mbvE5UEUtGR+SJW8pR GZkzEN5fTAyLwu9Xv7s3VDadzTdmRgDO2ok8b4hJe3BKC1v5Q0jlJ19/BULw+rAosMmd 7gE+tDqo7s2QXMS//NJACUdVMb/W5iLBL+lxDxEf21L9zcVt9WL4SUsgffahYZ15ktty izLUGuNQpCXkqHxUKu4Aq62TwM8tBUHBsN9qqF1rVGR1Pwm4qquAc5Tl/0VKqaw/sqL6 OLng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760972388; x=1761577188; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UqG0SavFajylZ/ofWN/tOTtrwbNkON+gqs759iT1I1o=; b=r2cuBMAw4MIQlWvx7Cl4s7BRENyesLzVpJVU42/GV+K+ZsPi40JK+lLty4tEgwLcz8 mvF4VbX3ltLrDILcYMiKh8rfBAlwDOF71D59FrMY9LL6ymB5oLRyStU61/LJt3/blQwm gryJJrJrq/gkW3g7vReXTCGfbOT4DtKC5Yi0dxe+ugOnJqAOESlpUGsxtebDX+46LjGD h+nJjpMSCDsNH69yLyRxobvQKUpZE5mWINErIpmzAJ83V3aJPbvptLw6IpFCKi4XDVZJ 15isoebY52jC2ALK5L+z/XW6U5r5NaxwOBJOLYQV1RqmTVyLpzC3g2hyl2zZryRTzAd7 iyYA== X-Forwarded-Encrypted: i=1; AJvYcCXXkzKcHqAvMNXpFDoMKI9fmmiVr/bq7CK4h2Ck/oUgErGJHbtwDj/HizzNEVyIKWOTmX+Br+4oLTUkK2mTp7Adze19jw==@freebsd.org X-Gm-Message-State: AOJu0Ywh9iveIGSrDXknaesW/6XCsInuLHlvpPM7IQnBhQahOKOI4Ayk 7fEiQQZB8tT6sA9tIJzwQh0SgppJHMKzYbeBXafiQcJnao1eqbDVURxs66gAhj7Q2e1d+SlOmDH 9O5SW55ixsQwxi1/0lJ2FroAV1DQTjIhdv/JFh4GryTkJ8p/fachd X-Gm-Gg: ASbGncthHrP1CyifVK0JYvoj6WwF7zvr8OsMaxgnAi5ZMZCmlVUyyIcywZbd3zRCaub Gau0Bk0qtfTzw0hIyj5L8DBEIsiB7enLZl9BcmsufR4NUc8FGiqK16xc55GXBCVybhKIXIJtiQY KXX78IRy0YYYtX3GeoK2ewmHI9DU2VLyvw1fwbcoNassfm+knsif8SFVJJa8b6iFZcrTrdqd5vO Sm8AfjmAJASlaPrju9x3owucE7n0rejgV3U1BWe5SFsAh+/S+gMIxHh7STB1nWxT6ymDuEqMuWU 8oUuvWd4nLuAksjS0uc= X-Google-Smtp-Source: AGHT+IEvbbnIix7P8hgRVE4bQVmzqXE7M6uJ5ibpur2cQCkLjYbwG1AHP5YDybdlVCgv7BbcOZqVCPvjJflGJkX/lus= X-Received: by 2002:a17:90b:4c8d:b0:339:9a71:efd8 with SMTP id 98e67ed59e1d1-33bcf955a5emr16178480a91.37.1760972388312; Mon, 20 Oct 2025 07:59:48 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 References: <202510171914.59HJE0uo036247@gitrepo.freebsd.org> <228220a0-c819-4c51-92d3-5357e925c81d@FreeBSD.org> In-Reply-To: From: Warner Losh Date: Mon, 20 Oct 2025 08:59:36 -0600 X-Gm-Features: AS18NWCGoOtByFnQ9tLVIvZR8OqpzxVRIuy3zZHHAk_TLb3tL1XbxBr-EOtizoM Message-ID: Subject: Re: git: 74a6bb524e5b - main - Makefile: Don't allow install{world,kernel} with pkgbase To: John Baldwin , src-committers , "" , "" Content-Type: multipart/alternative; boundary="000000000000aa3aa80641985598" X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102b:from]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[bsdimp.com]; RCVD_TLS_LAST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-main@freebsd.org]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4cqz9g2wK3z3GWJ --000000000000aa3aa80641985598 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 20, 2025, 8:42=E2=80=AFAM Lexi Winter 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 > > - (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. Warner i'm not sure what the current > state of that documentation is right now, but i know there are at least > some important bits missing, probably including this. > > for 15.0, you should simply not use pkgbase to install the new system, > since dists are still supported. if you *have* to use pkgbase, e.g. > you're using media that doesn't include dist sets and can't do an online > installation, then you can delete /var/db/pkg immediately after booting > into the new system, before installing any ports. the system will then > be more-or-less identical to one installed from dist sets, so you can > follow the usual instructions for updating from source. > > for 16.0, the plan is to remove support for dist sets from the release > media[0], so we'll probably want a way to do this automatically in the > installer. that's TBD, but i'm planning on doing some work on this part > of the release media once 15.0-RELEASE is out. (right now, we want to > minimise differences between main and releng/15.0 for release.) > > [0] dist sets will still be supported for downstream consumers, but they > won't be an installation option for FreeBSD. > --000000000000aa3aa80641985598 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
i'm not sure what the current
state of that documentation is right now, but i know there are at least
some important bits missing, probably including this.

for 15.0, you should simply not use pkgbase to install the new system,
since dists are still supported.=C2=A0 if you *have* to use pkgbase, e.g. you're using media that doesn't include dist sets and can't do = an online
installation, then you can delete /var/db/pkg immediately after booting
into the new system, before installing any ports.=C2=A0 the system will the= n
be more-or-less identical to one installed from dist sets, so you can
follow the usual instructions for updating from source.

for 16.0, the plan is to remove support for dist sets from the release
media[0], so we'll probably want a way to do this automatically in the<= br> installer.=C2=A0 that's TBD, but i'm planning on doing some work on= this part
of the release media once 15.0-RELEASE is out.=C2=A0 (right now, we want to=
minimise differences between main and releng/15.0 for release.)

[0] dist sets will still be supported for downstream consumers, but they won't be an installation option for FreeBSD.
--000000000000aa3aa80641985598--