The branch main has been updated by jlduran:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=64e16fa5c7b13006864fc90d913a19135dbbd6b7

commit 64e16fa5c7b13006864fc90d913a19135dbbd6b7
Author:     Jose Luis Duran <[email protected]>
AuthorDate: 2026-01-17 18:06:19 +0000
Commit:     Jose Luis Duran <[email protected]>
CommitDate: 2026-01-17 18:06:19 +0000

    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
---
 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 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
        {

Reply via email to