Let's configure the destination directory for the root filesystem of
your new FreeBSD (for example /usr/home/beastie/MODEDKERNEL
).
Add the following lines to /etc/src.conf
to set it up:
.if ${KERNCONF} == "MODEDKERNEL" DESTDIR?=/usr/home/beastie/MODEDKERNEL MODULES_OVERRIDE=md ufs .endif
Remember to use spaces not tabs if you wish to indent the code.
Create the root file system now:
Make distribution directories:
sudo make distrib-dirs KERNCONF=MODEDKERNEL
Estimated time on Hasee Q540S: a few seconds.
Make the distribution:
sudo make distribution KERNCONF=UFFIE
Estimated time on Hasee Q540S: 3 minutes.