From nobody Mon Oct 20 14:33:55 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 4cqybm6fmFz6CWCB; Mon, 20 Oct 2025 14:33:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cqybm6BBCz3DLN; Mon, 20 Oct 2025 14:33:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760970836; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DNsBe0BYS6GmfGCDI+L2Tj1p00b1++UDPPFz5LexMtA=; b=s0mPPD5ODum+azbZT+emeGGph/0tG12br604RY0e90jfq67TEndUkZ9hw7fPYsDKWTqhDr X6mFxS2KsyCm2WajLKJ/6MS8Yfx9xXO8uP3NRgNo07s/boETjogGFIln33zPkUz7byM9FZ kzJy/WeWwgELHzDGOvU6HAEtaNERtpbkQO7TQ8sde2gtHN6uOyq4/wCUcQMWB5vnxkEseO ea9pa479dPPFlimcerM+Vj72W1U5ARHf8rnOBeOJg6O3Qd9IWbRAY0GhRkcgy+BuagUm80 f4BabpfSFdO/m0rNLafI3485D8Bxcnqo1lFWMGs8zXBBvFYZ3rnvBcuPOonfew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760970836; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DNsBe0BYS6GmfGCDI+L2Tj1p00b1++UDPPFz5LexMtA=; b=fbDlTSmodTfmrnM/0nORAlyWkUerZIaMtglujYqqbOFzC/p17rbgH0frZG9J7hg8Hlp1li YeFi8g8/El94O4TujvoqFglitCOYop9bmsATaLDp8Cp2Ob1LV6PguSiQgDYIUAl/jdRxTc vy9Mo4eD1S1EoIk1T1osYOt5VKuGjoh0ZF5fD99jYcRQdcLO9DiTKlbRw22mvaOKck1T2k xYDYf5U0fIUQMUsOtIQ74k+n2C2oVhiG0zqsJ4MP5qf7nNZEnxrMJ3gujT5S3E0bqHvskn 3IvCLdqLK00a0bku/PRBJ1FlZ1WgIPvgFlAhgQIiL+p63UbtBq5AemLE1MM88w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760970836; a=rsa-sha256; cv=none; b=XS7f0PPxLdSg75EIvg27/33p66POLgjNdLmST1Z67JVnzqPyD2OuPHSyeuD/yQj3dG71Nu YOsFQ5H6NmdxuPr7Z/Lusqel39chItnm2zquFSfOAGQf7wKzVNGgraBpdIXRVyq5zzFGan tCL+xF+ghNfDZQiJdCAfdFk6L8seDbwfRv9awHKg+aIEs7T6OBT06dOeFbZa++ufMM9PUM i1ykV0xlXO4HxAZyvLSDgVXeDZE9U+WQNvuszHZMeKy8TUiRJsbDiojDIN2g8Ln/APyWVp 3VfXwCk3Dfx/yfs3fNZfH8G46idaKrUUoI8XE4hk3EZ8YfyOIXP5NUEICw8x6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from [IPV6:2601:5c0:4202:5670:ecba:d7d9:9ea9:ce3c] (unknown [IPv6:2601:5c0:4202:5670:ecba:d7d9:9ea9:ce3c]) (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 did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cqybm46rzz176p; Mon, 20 Oct 2025 14:33:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <228220a0-c819-4c51-92d3-5357e925c81d@FreeBSD.org> Date: Mon, 20 Oct 2025 10:33:55 -0400 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 User-Agent: Mozilla Thunderbird Subject: Re: git: 74a6bb524e5b - main - Makefile: Don't allow install{world,kernel} with pkgbase Content-Language: en-US To: Lexi Winter , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202510171914.59HJE0uo036247@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: <202510171914.59HJE0uo036247@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > AuthorDate: 2025-10-17 19:06:17 +0000 > Commit: Lexi Winter > 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 - (clearly can't just use pkg delete with a glob, so need something else) -- John Baldwin