Archive > 20.1 Legacy Series

Opnsense Build From Source

(1/2) > >>

AmirmohammadShk:
Hi
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?????

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

pmhausen:
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.

AmirmohammadShk:

--- 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.

franco:
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.


Cheers,
Franco

Navigation

[0] Message Index

[#] Next page

Go to full version