From nobody Mon Oct 20 17:44:56 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 4cr2r95yRlz6Cq8r; Mon, 20 Oct 2025 17:44:57 +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 4cr2r95G77z3tSK; Mon, 20 Oct 2025 17:44:57 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760982297; 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=V7xYiLgkn0QVvEC8E/poAYVUtfSgsnXO/bhgcpAVCnQ=; b=hBEZ/5o3o/2yEf1AVcpfWKEU23yPAfGMX5U5ZSOAgSDxFBHsNrWwDPGOnwLvToHyuTjMzU 8Q+8QDbA9T8XGhiivQscw5iqtUY23mVOititB6wDNULfyPXytMHWrwBwHlBqSHc52aotQZ +rwnx6X8og0HuZ7em8rmkW+R0WnQZO/KyMblEXul9YjIowlokHUmgwrMV2nORYkx4BoWI0 KA5dPwxUFSaZKEP5H3r+iOfsKL8eCBkm+LEyfy8IveZbIooxFcYDNjxd4A9ZmC7sGc0K+P UTN5PL2dUmLQUs/UsgjMY0fS8FwekDLk3JolBsjEQvuA9yFlruOA7OB0IJsCvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760982297; 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=V7xYiLgkn0QVvEC8E/poAYVUtfSgsnXO/bhgcpAVCnQ=; b=airWAYJAQCfq1cDiWhUesNkYvYyweRfIPaApda/GW/yG1x+dkYo15xDeHypD+qvIJO2F2m xvjVHB7JGSu59FzrFJbwJGJ2AZB4FYPHacBbQxknCRRLAciwYuWYcyeD+ofDQd+7wUkCQ4 1nYh7Aj+bJvECbtt8fB0HM2sNGYU1YB7mZ6DtfsvBfmUWfJfmNT6/+9M3u/IvT5CwGXW/z /aazpXncQA7S+NkcJWt20h90w3OkbqXLiXfXjZc4pkp02DcEkuwCdZJ2onXp+DIIpBanvM RB78P2VovQ1ZJ3Y6nWog9qMG+cJMVBVlLRySuyANGlKauZymuuCT26oTFoP2IA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760982297; a=rsa-sha256; cv=none; b=mf0j/6S2iD9BXCQLaLPibdbzIyHr146KjIi+4C89RevMgOhhGnYhxXiPJteZeYSeABpN4U hYxvPqDw5Y3ncPrLsnhtYYDvnCJGkLJJP4xPBHWThNjn/+uoTHIou5zn5dRVU37RRRPrUa jwrxH4C6xcVTEYecjC7ZnMcy4Gu7mQYYmq7bZEphQRM1pOnNauqlaNyeeYQMv1iYskgBKE 6EWRvDXTqWYopY+8y1lcDOeW2yTlEIEgH7ER/8mBeeeg8pJxFasZrmVSrE5sem+cUnWKFe C1kHxlaXUkkPsDDqLg+t7p/L4qEotaEOAZZuVVYAvIN9Pe1PKLcl2zFVcVvrqQ== 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 4cr2r93GnFz1Bkq; Mon, 20 Oct 2025 17:44:57 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: Date: Mon, 20 Oct 2025 13:44:56 -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: Warner Losh , src-committers , dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org References: <202510171914.59HJE0uo036247@gitrepo.freebsd.org> <228220a0-c819-4c51-92d3-5357e925c81d@FreeBSD.org> From: John Baldwin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/20/25 10:59, Warner Losh wrote: > On Mon, Oct 20, 2025, 8:42 AM 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. Hmm, 'make installkernel' needs to still create kernel.old for those of us doing development (or really, just running main. The tb(4) driver turned my laptop into a brick recently and I needed kernel.old so I could recover). AFAIK, pkgbase doesn't have any provision for doing that. Also, `make installkernel INSTKERNNAME=test; nextboot -k test` is a key part of my workflow for testing kernels. I'm fine with using packages to ship updates to users running stock sources, but please do not make it harder to do development. When hacking on userspace components I often need to be able to do just 'make install' of a single binary or library onto an installed system knowing that a future installworld or `make install` will revert to "stock" binaries later. Please don't break that. It's like when I work on changes to GDB or LLVM, I use the native build system to build the modified version, I don't try to hack up a port to build a package with the extra changes I have either in a working tree or committed on a feature branch. -- John Baldwin