Archive > 20.1 Legacy Series

Opnsense Build From Source

(1/2) > >>

i Try to Build opnsense from source this way:
on FreeBSD 12:
in /usr/:
 - clone core src tools plugins ports
 - apply my changes to core
 - apply my configs to tools/config/20.7/ports.conf and tools/config/20.7/build.conf
 - build and create iso using make dvd
and generate iso
but on every build take long time to create iso
and Most of the time is taken for ports

Most of my changes are for core
and dont need to build ports every time

on pfsense case i use poudriere for build ports and store all txz in poudriere .

how to use poudriere in opnsense build???
or is there a stable way without poudriere?????

Its only the first time it takes that long. Should be around 6-8 hours.

This is the curse of not using standard FreeBSD packages. So you would need to create your own ports tree in poudriere (from OPNsense) and somehow create a HardenedBSD jail in poudriere. Sorry, never tried that, yet.


--- Quote from: mimugmail on April 03, 2021, 01:07:53 pm ---Its only the first time it takes that long. Should be around 6-8 hours.

--- End quote ---

hi mimugmail
thanks for your replay
yes first time takes long . in my case takes 5H.
but on any change the rebuil progress start from first and take 5H again.

FreeBSD does not compile OpenSSL from ports into their packages for obvious reasons. But this makes updating OpenSSL harder than it should. We've always followed that pattern and except for the 1.1.1k breakage that was a good choice.



[0] Message Index

[#] Next page

Go to full version