Building Netboot Pseudo-Releases

On admin:

# mkdir -p /pxeroot/11.0-CURRENT/usr/src
# svn co -q svn://svn.freebsd.org/base/head /pxeroot/11.0-CURRENT/usr/src
# make -C /pxeroot/11.0-CURRENT/usr/src -s -j16 buildworld
# make -C /pxeroot/11.0-CURRENT/usr/src DESTDIR=/pxeroot/11.0-CURRENT installworld distribution
# cp /root/ADMIN /pxeroot/11.0-CURRENT/usr/src/sys/amd64/conf/ADMIN
# cp /etc/make.conf /pxeroot/11.0-CURRENT/etc/make.conf
# mount -t devfs devfs /pxeroot/11.0-CURRENT/dev
# chroot /pxeroot/11.0-CURRENT

In Build Chroot:

# cd /usr/src
# make -s -j16 buildworld
# make -s -j16 buildkernel
# mkdir -p /usr/freebsd-dist
# cd /usr/obj
# tar cJvf /usr/freebsd-dist/11obj.txz ./
# cd /usr/src
# tar cJvf /usr/freebsd-dist/11src.txz ./
# cd /
# tar cJvf /usr/freebsd-dist/11base.txz --exclude ./usr/freebsd-dist --exclude ./usr/src --exclude ./usr/obj ./

TODO:

Teams/clusteradm/NetBoot_Builds (last edited 2013-10-19T00:36:31+0000 by GlenBarber)