From nobody Sat Nov 15 22:06:09 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 4d87PY1xJpz6H3c5; Sat, 15 Nov 2025 22:06:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d87PY18HGz43Tg; Sat, 15 Nov 2025 22:06:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763244369; 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; bh=Y0C43D7Ix76rZSztnrC25OJlLJ6Rq4qy7Vv2q8AUnME=; b=mmlMOLRDXSOZfS2PEGP4+O0WC8GzWmTaCG4uHP0BHyur+SyjP68h7tj6tcZ+3Jt92eViNX tVt2zw6oH5/m8Lf9XxkQjXrmueEIQMRjCJZVL/j40a+HxK2EcPz+hsKax87myrKkVy/DKW YXamTAZCaq8ETcNNRlSxHCtb23ZlJBYLquk9F/8Rz2V4sPcS6L6TOA2E2iKl4PfwGiud/s 4JH3ridvWgLDRa/7mn24Czvlatww5uOAieet24MAfEE/rTwYiqcjNR3MyOukayg44XUDm+ dEc4t+GbbXPWKuQOZqRUNhWsavKrI4BffiOvRrnAyc1OnmP15O5Od2tYN9HOjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763244369; 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; bh=Y0C43D7Ix76rZSztnrC25OJlLJ6Rq4qy7Vv2q8AUnME=; b=VcumznMBD60HhZRvbIt2PkME/93dr7/ws4pH4LpH9kbCw7QopRa/urVhjwsSD+lwVYf69l CiCiVO6H5+MSBmRE/9gVtwtkYC8szyeABYiHc2WrT6Xtq0Yy1793RtVcuObDE3MJ09aEgx zxZhcqnr56A8+XO9ZqtwB1aTZtMKKbzg0u7sreYZQ3YzJDDWPxZjEh2ROqfbaL3J6rvy1c 6wgto1kWVsltDrIWo65l42tbZvyrZJtn5yuElRusfBMoV+ws3tIqA0p6zBeMQHFq8/oXuE uvAF6kaZhaVfq3HIbMt54sVancnlA5Iyxg9lbgncSc6P/iTa2TVBwyNFVhJ3ow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763244369; a=rsa-sha256; cv=none; b=bucIeq2jAYzy0DA1Do2lw89xiz3rNpJS9l32u6MqEI98XKJbh/CYc8acC2ssjLr3UnII5r NT1eISzPi19jMRdaGpiBNAGaj/rh7prJIRqRKqLY0BnAUvKvzIcSurP+A//X7AFj7HQGPX Dq8Vowkw3ZEMRXXYR1ElS9AFpFuWBJ/hkDw4oqNsTp54SrUipMeIeVNMEScCNqyXe8oi6t rYtj+8cbxznJcM0oo83l9WemyqmhB3HC9IaYwH2A4D/QA1kCm6+aK9U7FQaeRDkCa2wTCA JJePWDdlqZNES7PRO/GOxZ10dW/JBNhGH7zNQah30l9z0cd2iPvGajz6PDOIKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d87PY0X9bz19HC; Sat, 15 Nov 2025 22:06:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5AFM69h1010793; Sat, 15 Nov 2025 22:06:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5AFM696J010790; Sat, 15 Nov 2025 22:06:09 GMT (envelope-from git) Date: Sat, 15 Nov 2025 22:06:09 GMT Message-Id: <202511152206.5AFM696J010790@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Colin Percival Subject: git: a96230e0329b - main - bsdinstall: Enable FreeBSD-base repo when pkgbase 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a96230e0329b32cbee0999813787a86eab521da4 Auto-Submitted: auto-generated The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=a96230e0329b32cbee0999813787a86eab521da4 commit a96230e0329b32cbee0999813787a86eab521da4 Author: Colin Percival AuthorDate: 2025-11-15 21:56:35 +0000 Commit: Colin Percival CommitDate: 2025-11-15 22:05:50 +0000 bsdinstall: Enable FreeBSD-base repo when pkgbase When performing a pkgbase install, create a configuration file in /usr/local/etc/pkg/repos/FreeBSD.conf which enables the FreeBSD-base repository. (This repository is defined in /etc/pkg/FreeBSD.conf as being disabled by default.) Reported by: Mark Millard Reviewed by: markj MFC after: immediately (needed for 15.0-RC1) Differential Revision: https://reviews.freebsd.org/D53777 --- usr.sbin/bsdinstall/scripts/pkgbase.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr.sbin/bsdinstall/scripts/pkgbase.in b/usr.sbin/bsdinstall/scripts/pkgbase.in index ddbf8eaf4f86..89ddc244171e 100755 --- a/usr.sbin/bsdinstall/scripts/pkgbase.in +++ b/usr.sbin/bsdinstall/scripts/pkgbase.in @@ -355,6 +355,10 @@ local function pkgbase() if not os.execute(pkg .. "install -U -y -r FreeBSD-base " .. packages) then os.exit(1) end + + -- Enable the FreeBSD-base repository for this system. + assert(os.execute("mkdir -p " .. chroot .. "/usr/local/etc/pkg/repos")) + assert(os.execute("echo 'FreeBSD-base: { enabled: yes }' > " .. chroot .. "/usr/local/etc/pkg/repos/FreeBSD.conf")) end pkgbase()