The branch main has been updated by jlduran: URL: https://cgit.FreeBSD.org/src/commit/?id=5345567935a229ae1a621a521596b89af59d081f
commit 5345567935a229ae1a621a521596b89af59d081f Author: Jose Luis Duran <[email protected]> AuthorDate: 2026-01-17 18:04:09 +0000 Commit: Jose Luis Duran <[email protected]> CommitDate: 2026-01-17 18:04:09 +0000 nanobsd: Prefer tgt_dir2symlink() to create symlinks Prefer tgt_dir2symlink() to create symlinks, as it has the benefit of appending the entry to the metalog file. Reviewed by: imp, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D48783 --- tools/tools/nanobsd/defaults.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh index 2307874fb75c..749a4bd785dc 100755 --- a/tools/tools/nanobsd/defaults.sh +++ b/tools/tools/nanobsd/defaults.sh @@ -549,7 +549,7 @@ setup_nanobsd() { # are installed by this point, but are later in the process, # the symlink not being here causes problems. It never hurts # to have the symlink in error though. - ln -sf ../../etc/local usr/local/etc + tgt_dir2symlink usr/local/etc ../../etc/local 0755 for d in var etc do
