aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/en/articles/nanobsd/_index.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/content/en/articles/nanobsd/_index.adoc')
-rw-r--r--documentation/content/en/articles/nanobsd/_index.adoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/documentation/content/en/articles/nanobsd/_index.adoc b/documentation/content/en/articles/nanobsd/_index.adoc
index 2f6e420b17..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:
+
+[source,shell]
+....
+# git clone https://git.FreeBSD.org/src.git /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]#nanobsd.sh# 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.
@@ -305,6 +315,7 @@ There are a few default pre-defined customization functions ready for use:
* `cust_comconsole` - Disables man:getty[8] on the VGA devices (the [.filename]#/dev/ttyv*# device nodes) and enables the use of the COM1 serial port as the system console.
* `cust_allow_ssh_root` - Allow `root` to login via man:sshd[8].
* `cust_install_files` - Installs files from the [.filename]#nanobsd/Files# directory, which contains some useful scripts for system administration.
+* `cust_pkgng` - Installs packages from the [.filename]#nanobsd/Pkg# directory (needs also pkg-* package to bootstrap).
==== Adding Packages