diff options
| author | Jose Luis Duran <jlduran@FreeBSD.org> | 2026-01-17 18:06:19 +0000 |
|---|---|---|
| committer | Jose Luis Duran <jlduran@FreeBSD.org> | 2026-01-17 18:06:19 +0000 |
| commit | 64e16fa5c7b13006864fc90d913a19135dbbd6b7 (patch) | |
| tree | 5bb149d1ea94051b0f758bd2430edc1c32cd2db4 | |
| parent | b8b046a259eded36eb9bd6a1c02d60a78dae24f6 (diff) | |
nanobsd: Prefer tgt_touch() instead of touch
Prefer tgt_touch() as it adds an entry to the metalog file.
Reviewed by: imp, emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D48785
| -rwxr-xr-x | tools/tools/nanobsd/defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh index 65339633e0af..50c6770dfcab 100755 --- a/tools/tools/nanobsd/defaults.sh +++ b/tools/tools/nanobsd/defaults.sh @@ -579,7 +579,7 @@ setup_nanobsd_etc() { cd "${NANO_WORLDDIR}" # create diskless marker file - touch etc/diskless + tgt_touch etc/diskless [ -n "${NANO_NOPRIV_BUILD}" ] && chmod 666 boot/defaults/loader.conf { |
