Nodefactory based on FreeBSD-10 ---- == Scope == - based on FreeBSD-10.1 (until release use 10-STABLE - ubound replaces bind - implement latest version of lvrouted (auto update default route) - update captive portal - cleanup packages - possibly replace thttpd (light version of apache?) == A. Setup a FreeBSD host == ---- Warning: 1) Make sure ''/usr'' is '''at least 5GB''' in size, as building images requires quite some space. 2) Make sure you install the 32bit '''i386''' release of FreeBSD also when your system does support amd64, as cross compiling can give some nasty surprises. Tip: use a separate hard disk, mounted on /usr/obj to speed up the compilation process. ---- Get yourself a fresh i386 freebsd host with ports and subversion installed as follows: === A.1. Run the basic CD installer === The procedure below has been tested with 10.0 (standard developer install - no ports -, e.g. with default partitioning will fit our needs). Installing FreeBSD is outside the scope of this document, take a look into [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall.html the FreeBSD handbook Chapter 2 Installing FreeBSD] if you do not know the details. Apply update: {{{ # freebsd-update fetch # freebsd-update install }}} Please do mind that all commands below need to be executed as root, because of the many mounts and unmounts done in various phases. It maybe convenient to ''' permit ssh root login''' (''modify /etc/ssh/sshd_config'' accordingly). Internet connection is required. Set correct date/time, e.g: build# ntpdate -s 0.pool.nl.ntp.org (You may also wish to add ''ntpd_enable="YES"'' to /etc/rc.conf)