From nobody Wed Jul 16 15:08: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 4bhzw51QmYz61cV0; Wed, 16 Jul 2025 15:08:37 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bhzw5034gz4G6m; Wed, 16 Jul 2025 15:08:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752678517; 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=8WSet1Ipy0FMvWR/DGTHGGtamAT6GJ1K/7Y+uITXEsw=; b=J7676lbKrqqEL21PsD2NIaR65DYkteZnyIMt8V5onZa/KWV6r5KouXCvujiJ/wihXXsVfY 67Ggc7bCCp4MUN6hw2o4H5yWB4huPNK3VflxjSpNNk+I3I3svWtK3xeIpXrVcvrjfSyFHv JcrJOPrMbA7XwXGhowstV15DCxggMHO7y7H2nmywT5sSaDVxpmr0JQLG9VYjxWzTmZINwv eCZJqsbOjt76TFkJc8IQE/URfzJjvIO9gnihQfbgGUEyFC3mf/ATAS8zgWN1UrBEx3tswv 98cz37iTv/KS8ikB3OboljX0dUtYeB3xkvAnw2TRk/lqrocHtEzsI2fYV24xnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752678517; 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=8WSet1Ipy0FMvWR/DGTHGGtamAT6GJ1K/7Y+uITXEsw=; b=Q1UszyOtKMajdqOqDs3XozHzR6A4xjTLLOSMRBvFbVV/1+Bq1T9TloMFNjvhG4a5uq/Gr1 L97Ti+/L4pt/qvaY3TnJcgffmQxqFviM5AnCqbRqfVc5HONS9IvS27FpCV+kzUrK5r/Yb1 z1zHHCJrEEPLimZkJ1e/I3ZN1Oj2fXnKtf+J5Tj29uo+4qJzfhn2Qd5N0AIVsHqH3bSNaw Ef/mktQ1is70r5jp3PZCYVT35CvmCXMhLyrOvLIF3OpgeOMAm5IwBZ+/uSnGudeuYWaRYr QX3QHUFiKMmXGfWFs9Vg6FwmCQ9jvBdQwH78nHStBT9qnLEOAt570XwEk1ARjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752678517; a=rsa-sha256; cv=none; b=tGukytWHeEl2yPKwBlueVSwra25H3ThFQW9+vQiOKxmNsIlOaRXRHTPYBXQlh123OBFC8c 8XhJunv1lhoUkiKmqnP+OwbA0II1E/qV3M5XX1fZG/5OdmJJw/QrpGXfUD0lJpjDqIOWIF 0/jzcgYRXusGK/uBY346oS68Z+VrMyra7f906c8Me5eDTwateDzMt2uZUR1gqgGES/JtYX 2/ZYSjjIpXeU/Qqce2ku8zQuYN6VeHeV6D+13yL3f7IEe1SC1arh3uCd3XiuxJiX+HIiZb gL2VobKUbOV3kin1VEBPFr+DvQLbR6/MTGeJmV7Sz67W28pqJLuH56kU5PuKhA== 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 4bhzw46lPcz6T; Wed, 16 Jul 2025 15:08:36 +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 56GF8aDq008013; Wed, 16 Jul 2025 15:08:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56GF8aZK008010; Wed, 16 Jul 2025 15:08:36 GMT (envelope-from git) Date: Wed, 16 Jul 2025 15:08:36 GMT Message-Id: <202507161508.56GF8aZK008010@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bojan =?utf-8?Q?Novkovi=C4=87?= Subject: git: ceab09e3dbc2 - main - release: Add a helper script for common tools 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bnovkov X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ceab09e3dbc25240c7e4d0839672cc3008830150 Auto-Submitted: auto-generated The branch main has been updated by bnovkov: URL: https://cgit.FreeBSD.org/src/commit/?id=ceab09e3dbc25240c7e4d0839672cc3008830150 commit ceab09e3dbc25240c7e4d0839672cc3008830150 Author: Bojan Novković AuthorDate: 2025-06-24 15:03:37 +0000 Commit: Bojan Novković CommitDate: 2025-07-16 15:03:49 +0000 release: Add a helper script for common tools Add a helper script that populates variables used to invoke several tools. This is also the first step towards cleaning up several inconsistencies related to tool invocation in various release scripts (e.g. ${MAKEFS} vs makefs). Sponsored by: Klara, Inc. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D51038 Reviewed by: emaste, des --- release/scripts/tools.subr | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/release/scripts/tools.subr b/release/scripts/tools.subr new file mode 100644 index 000000000000..e818f0a55410 --- /dev/null +++ b/release/scripts/tools.subr @@ -0,0 +1,13 @@ +#!/bin/sh +#- +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2025 The FreeBSD Foundation +# +# This software was developed by Klara, Inc. +# under sponsorship from the FreeBSD Foundation. +# + +: ${ETDUMP:=etdump} +: ${MAKEFS:=makefs} +: ${MKIMG:=mkimg}