Solved Building mfsBSD using FreeBSD 15.0

I encountered it earlier and the hack still works. Make a variable and insert it in script.

MFSROOTSIZE=800m

makefs -s${MFSROOTSIZE} -B little -o label=${IMAGENAME} ${WRKDIR}/out/mfsroot ${WRKDIR}/world >/dev/null 2>&1

Then I get a working image:
poudriere image -t usb+mfs -s 960m -j mbm-mfs -h mbm-mfs -n mbm-mfs -X excluded.files

Next up create an OVERLAY directory to add my files in.

Any tips on how to do this?
 
One thing I would like do is use zsh as my shell because I use mc a lot
Same here. My descision was to stick on the default shell for root for maximum compatibility. As a result mc doesn't start without -u. Lazy as i am i set an alias in /root/.shrc and later i found out how to use tcsh with mc only. This is my /root/.shrc now:
Code:
echo ".shrc loaded"
#alias mc="mc -u"
alias mc="env SHELL=/bin/tcsh mc"
I'm pretty sure that this will work with zsh if you found its root dotfile. Create inside mfsbsd a customfiles/root/ , copy your dotfile into it and make your mfsBSD. The customfiles/ files are included into the image on the fly without setting parameters for the make command. (No CUSTOM=1 required, thats for building custom kernels. Ouch, learning by doing.)
 
Back
Top