The branch main has been updated by bnovkov:

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

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

Reply via email to