Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2026 00:37:10 +0000
From:      Jose Luis Duran <jlduran@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f1de8e3511d0 - main - nanobsd: Register the boot.config file in the metalog
Message-ID:  <6a163cb6.3eda4.470a47e3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jlduran:

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

commit f1de8e3511d043e707cf4a63ea76a15a42f81ab0
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2026-05-27 00:25:10 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2026-05-27 00:25:10 +0000

    nanobsd: Register the boot.config file in the metalog
    
    Ensure that the boot.config file gets an entry in the metalog by
    tgt_touch()ing it.  If a file is not present in the metalog, it gets
    excluded from the final image when using "-U" (unprivileged builds).
    
    MFC after:      2 weeks
---
 tools/tools/nanobsd/defaults.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
index 4997812cb15f..3bbbcf472ae7 100755
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -883,6 +883,7 @@ cust_comconsole() {
 
 	# Tell loader to use serial console early.
 	echo "${NANO_BOOT2CFG}" > ${NANO_WORLDDIR}/boot.config
+	tgt_touch boot.config
 }
 
 #######################################################################


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a163cb6.3eda4.470a47e3>