git: 02d9ae1165 - main - NanoBSD: add how to obtain the source code

From: Mitchell Horne <>
Date: Mon, 27 Nov 2023 15:25:28 UTC
The branch main has been updated by mhorne:


commit 02d9ae11650e82b2129f80d3e19a826e7c731585
Author:     Minsoo Choo <>
AuthorDate: 2023-11-27 15:04:53 +0000
Commit:     Mitchell Horne <>
CommitDate: 2023-11-27 15:05:00 +0000

    NanoBSD: add how to obtain the source code
    There is a request in the bugzilla report to introduce how to obtain the
    source code for building NanoBSD. I added more lines to the patch
    provided by the original reporter.
    PR:             274709
    Reviewed by:    mhorne
    Differential Revision:
 documentation/content/en/articles/nanobsd/_index.adoc | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/documentation/content/en/articles/nanobsd/_index.adoc b/documentation/content/en/articles/nanobsd/_index.adoc
index f8dadb9314..a8f3ba03d6 100644
--- a/documentation/content/en/articles/nanobsd/_index.adoc
+++ b/documentation/content/en/articles/nanobsd/_index.adoc
@@ -108,6 +108,16 @@ Keeping [.filename]#/cfg# mounted at all times is not a good idea, especially if
 === Building a NanoBSD Image
+The source code of FreeBSD is required to build NanoBSD.
+To obtain the source code:
+# git clone /usr/src
+For more details, follow the steps extref:{handbook}cutting-edge#updating-src-obtaining-src[here].
 A NanoBSD image is built using a simple [.filename] shell script, which can be found in the [.filename]#/usr/src/tools/tools/nanobsd# directory.
 This script creates an image, which can be copied on the storage medium using the man:dd[1] utility.