Augustin-FL / building-pfsense-iso-from-source

How to: Building a pfSense .iso from sources
54 stars 50 forks source link

powerpc build #28

Closed rekshflake closed 4 years ago

rekshflake commented 4 years ago

Can we build it for the powerpc platform, particularly the QorIQ P2020?

rekshflake commented 4 years ago

Any updates on this?

Augustin-FL commented 4 years ago

Hi,

No sry...i don't have a clue on that :(

The architecture that pfSense will be built for...is defined by uname -m. So if you want to build an ISO for powerPC architecture, then you'll need a server with powerPC architecture.

...It seems possible to build ports for a specific architecture however:

The target architecture for ports is defined by an environment variable (DEFAULT_ARCH_LIST) and is checked by a function named poudriere_possible_archs. Netgate seems to have implemented the possibility to build ports for a different target architecture than the server itself, using KVM-QEMU. (I guess it's because they are building ARM ports on their x64 build servers?). Only qemu-arm-static is currently used, but you could probably use qemu-ppc64-static aswell.

Maybe you could try to build the ISO and past the the results here/submit a Pull request to the original pfSense repo with your updates ?