Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2025 15:08:36 GMT
From:      Bojan =?utf-8?Q?Novkovi=C4=87?= <bnovkov@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ceab09e3dbc2 - main - release: Add a helper script for common tools
Message-ID:  <202507161508.56GF8aZK008010@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bnovkov:

URL: https://cgit.FreeBSD.org/src/commit/?id=ceab09e3dbc25240c7e4d0839672cc3008830150

commit ceab09e3dbc25240c7e4d0839672cc3008830150
Author:     Bojan Novković <bnovkov@FreeBSD.org>
AuthorDate: 2025-06-24 15:03:37 +0000
Commit:     Bojan Novković <bnovkov@FreeBSD.org>
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507161508.56GF8aZK008010>