From nobody Mon Oct 20 14:59:36 2025 X-Original-To: dev-commits-src-all@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 4cqz9g2SlCz6CYMV for ; Mon, 20 Oct 2025 14:59:51 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (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 4cqz9f4TNjz3GTC for ; Mon, 20 Oct 2025 14:59:50 +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::102c) smtp.mailfrom=wlosh@bsdimp.com Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-33c4252c3c5so2828381a91.0 for ; Mon, 20 Oct 2025 07:59:50 -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=p3yJXEn4MaluYnY+cqYuQogl4HRJQ7A17w9GYA5b6/gJF99ipiWb1Tu5djPxjPogVn m3JPWwQMAwPtvk4ow7yrGioEw23BfCLLJQZfrxb087Yc8t+CgY1PhjT5qJi9awCl7u8J d4W314WdWo+z3kqfYLExeydZwuBZPt/WqqulE2Ea0s2CV27lIizgA+F5Iol75WKFwjM0 NixAcVf1ftuw6c7PWIr21U4f2Voe40FmKQ/HanzxO+IBx5PPh6OkJXQYEpQP0SviZ1Gz qryXT1mAE8Vp2Hom77QgYrG4zgkNxrOeEfXmuvyzoMgtycB0kVgcn7jJgF6LI6VLs7V1 aTRw== X-Forwarded-Encrypted: i=1; AJvYcCVkArm66j2YfBkqRFDUB614VKGF3ui2lv0g02PWH+A4imvsV5/MwT+0uTn/M+Znz33/5YUGnDpft0VO3rQInLQE/hAn@freebsd.org X-Gm-Message-State: AOJu0Yx9/TEE0TOAhUHrtM2w3LfLPQQ4qsBOxTiqddw/DrlgO+ck5qZd qYQnJMRkDZOnSzKTTg3neA2K9DU+M6+WYIWc8GmPF5vN8byNikbLXmD0ApPlJvCv0JI8ft/+DeD RljInDpqY9DD8YH+AQr9eBwY4JRiWowqU1lKGPoCt0g== X-Gm-Gg: ASbGncvZiT4Fv7yFhbHooqlP0bE0mmdagpiQM4OPMzYzyW1CD6zcw3YtY/tgjax2tAd Z8g2e6REqhGx8ann4CWTC3HrVJVzoCg/8WpNj/lhp+Anz8EZeBFUa9Dvjfd+6AX0qbD3XdRCHKP jH07ohV/feCDjQkKKiDMhKFMRHWV2Bx3MSC2bVaH8rwV6U3+f+ZQ/RgOOIzuJk0mmWprYOVmZdy jlInzaY//dz0oylricph7Rc1BmhhpDQLV1ZJxmG3D+niDsdEVdMrJo5lqMKVcmhXPJN+s0uXTro LcsCQgVb0aw6o4o8gCg= 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 all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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]; RCPT_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+]; DMARC_NA(0.00)[bsdimp.com]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ONE(0.00)[1]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-all@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-all@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102c:from] X-Rspamd-Queue-Id: 4cqz9f4TNjz3GTC --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--