From 5345567935a229ae1a621a521596b89af59d081f Mon Sep 17 00:00:00 2001 From: Jose Luis Duran Date: Sat, 17 Jan 2026 18:04:09 +0000 Subject: [PATCH] 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 2307874fb75..749a4bd785d 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