aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2026-05-27 00:25:10 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2026-05-27 00:25:10 +0000
commitf1de8e3511d043e707cf4a63ea76a15a42f81ab0 (patch)
treec511533d8377c0631a9681232195c42280aaebd7
parent54359982309e63254424eea1f981215c84d2b9c6 (diff)
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
-rwxr-xr-xtools/tools/nanobsd/defaults.sh1
1 files changed, 1 insertions, 0 deletions
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
}
#######################################################################