From nobody Sat Apr 25 16:22:24 2026 X-Original-To: dev-commits-src-branches@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 4g2w8d34k9z6blrS for ; Sat, 25 Apr 2026 16:22:25 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g2w8c42DWz40jN for ; Sat, 25 Apr 2026 16:22:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777134144; 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=vSiSHPwsERAdqL/MBvdDdjb4ePdNW1gxyI6aDEpso7w=; b=NwKfjLDq9c/gyw8V4YOxvokXkZawhBRhQzJzBy2iIZ+gGrVoMrFnaHc3F/aVniPEUZ0lkp nn/DBh5TBdMaazSajvCWO8xYNxVVAxpb9FT3/LZcCVEN/Dhupm1WOSak6flsgN49KH9OAb xH0ZZT82MGSoMBy+TItk6MbY1sgKCPLHkt1nBPYZLVxThmzjZkOvgCzotR2ri7L4FgdbZb XGFdziHQ1eKkE4U45Ph85JFH96bCQpDx4scB5PnndSRLs79qWJAiakx8tAOuxn/muBbgBI cFMpXA5REKe9ExrXMTzo0Z9y/GF069coErOPE0NyB6IXfvxjSV/CIAiIjysSrg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777134144; a=rsa-sha256; cv=none; b=xQN+W9Az4IUS9W4TZBqS+ndhBdUGrA5dCeYYbzZhiSLC7C1h3iUwm1diLVpfHocUZ+X3zy wYdShGbdUXiHDHC/v5N8qGiGHjCyEXZC5U2RZG6IN9Qd7q21wrCm6nWqeWc7pXFCPePGN4 qgj3h1taEQam6eUjwZ8W4+Qqh88v/wRfiGZdVfqwBY+2GBJ0/FPXRXxiR3GTzRfNVu0Grm cNC0SZnCDO2nfq6BbFRZlN4mpZdVy3Ue6uefUwCs+Z5gydExNpSafHzPVIHoiN+Fi9itXv 6ypaTO4KvDgdlynhusQPwc3PDBbuo4MHw3aTFfljVIah+2ip9lWqsZR4nMcfdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777134144; 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=vSiSHPwsERAdqL/MBvdDdjb4ePdNW1gxyI6aDEpso7w=; b=MtMUysNNXEL1RM1TV05VYwH+ZaToeKyheZ57BfTkx+2cFYuy6De6tCC0AkJzaJvISeYb4P 9omAj+Heuesi3IZile/vPve+CTHN9B1svmwbb81C6s8UWEr2c327n1N3lH43jayypWYgwR nxncqc5XfywL+pHzpSLQ7m2AIHOwcARXUl2PzQWbrvfcFlV/5ChQXkE2Wrw8r3h82I1N+G sdWltPLiTkyvzVCeazOI0yWSrHLpK8UELX/+nzp2wXskI8BjCERxPvxzsiEiGqWQamSRa2 dF8DUIkM4fCxeVJ5eaFfNzl+BBeT+65vifIfluyd74VtIpbteuW807yDZ/KIxQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g2w8c3KxCzhHQ for ; Sat, 25 Apr 2026 16:22:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 43633 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 25 Apr 2026 16:22:24 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Enji Cooper Subject: git: d6faa06d8936 - stable/14 - release.sh: document user-overriddable functions List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ngie X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: d6faa06d8936cf42accbf98860b9333710deda2c Auto-Submitted: auto-generated Date: Sat, 25 Apr 2026 16:22:24 +0000 Message-Id: <69ecea40.43633.54612a45@gitrepo.freebsd.org> The branch stable/14 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=d6faa06d8936cf42accbf98860b9333710deda2c commit d6faa06d8936cf42accbf98860b9333710deda2c Author: Enji Cooper AuthorDate: 2026-03-22 02:45:57 +0000 Commit: Enji Cooper CommitDate: 2026-04-25 16:22:18 +0000 release.sh: document user-overriddable functions This helps others attempting to customize the behavior of `release.sh`. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D55450 (as part of a larger change) (cherry picked from commit b24fc79095c640620a643a11fa2f4f833326bfed) --- release/release.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/release/release.sh b/release/release.sh index 1f366e287adc..df3128f5c70f 100755 --- a/release/release.sh +++ b/release/release.sh @@ -40,8 +40,17 @@ export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" VERSION=3 # Prototypes that can be redefined per-chroot or per-target. + +# load_chroot_env(): Set up the build environment needed. +# +# Done as part of chroot_env(). load_chroot_env() { } + +# load_target_env(): set up the build environment needed for the +# chroot_build_target() and `${chroot_build_release}` steps. load_target_env() { } + +# buildenv_setup(): set up the build environment needed for post-chroot_setup() buildenv_setup() { } # chroot_cleanup(): Clean up resources setup in chroot_setup() at exit.