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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user