179 | | |
180 | | Tip: This step will take a long time to complete, use screen in remote setup to avoid failures due to disconnections |
181 | | |
182 | | build# sh /usr/src/tools/tools/nanobsd/nanobsd.sh -c $R/cfg/nanobsd.wleiden |
183 | | |
184 | | Note 1: Take a coffee of go for a hike, this normally takes 2 - 8 hours depending on the machine configuration. If you like to save some power use the script provided by Rick ([http://rickvanderzwet.nl/svn/personal/misc/power-saver]). This script is mainly used on a home server for building FreeBSD world and kernels. As soon it is done it can shutdown if not being used anymore. The system has Wake-On-Lan support and can thus be activated again from remote. |
185 | | |
186 | | Even this little script got flags, check the output of {{{sh /usr/src/tools/tools/nanobsd/nanobsd.sh -h}}} |
187 | | {{{ |
188 | | -b suppress builds (both kernel and world) |
189 | | -k suppress buildkernel |
190 | | -w suppress buildworld |
191 | | -c specify config file |
192 | | ... |
193 | | }}} |
194 | | |
195 | | Tip: a '''safe alternative''' is the image-script available in file:$R/tools/ : {{{ build# $R/tools/image build }}}. This script checks whether a kernel and/or world are already available and skips these steps. This may prevent lengthy, unnecessary builds. |
| 179 | Start the build process [2 hours]: |
| 180 | build# screen $R/tools/image build |
| 181 | |
| 182 | Tip: Save some power and use an [http://rickvanderzwet.nl/svn/personal/misc/power-saver power-saver script] to shut-down the machine ones not being using any-more. |
| 183 | |
| 184 | |