root@R4S_imagem:/usr/tools/config/24.7 # cat ports.conf | grep "^#"#ORIGIN IGNORE#emulators/virtualbox-ose-additions-nox11 arm,aarch64#net-mgmt/zabbix5-agent arm#net-mgmt/zabbix5-proxy arm#net-mgmt/zabbix6-agent arm#net-mgmt/zabbix6-proxy arm#net-mgmt/zabbix64-agent arm#net-mgmt/zabbix64-proxy arm#net-mgmt/zabbix7-agent arm#net-mgmt/zabbix7-proxy arm#net/asterisk18 arm#net/bird2 arm#net/frr8 arm#net/haproxy28 arm#net/ntopng arm#net/siproxd arm#opnsense/py-haproxy-cli arm#security/clamav arm#security/suricata arm#security/tor arm#sysutils/apcupsd arm#sysutils/munin-node arm#sysutils/nut arm,aarch64#www/sarg arm
root@R4S_imagem:/usr/tools/config/24.7 # cat plugins.conf | grep "^#"#ORIGIN IGNORE#net-mgmt/zabbix-agent@zabbix5 arm#net-mgmt/zabbix-agent@zabbix6 arm#net-mgmt/zabbix-agent@zabbix64 arm#net-mgmt/zabbix-agent@zabbix7 arm#net-mgmt/zabbix-proxy@zabbix5 arm#net-mgmt/zabbix-proxy@zabbix6 arm#net-mgmt/zabbix-proxy@zabbix64 arm#net-mgmt/zabbix-proxy@zabbix7 arm#net/frr arm#net/haproxy arm#net/ntopng arm#net/realtek-re#net/siproxd arm#security/clamav arm#security/tor arm#sysutils/apcupsd arm#sysutils/apuled arm#sysutils/munin-node arm#sysutils/nut arm,aarch64#sysutils/virtualbox arm,aarch64#sysutils/vmware arm#sysutils/xen arm,aarch64#www/web-proxy-sso arm
nstalling zip-3.0_2...Extracting zip-3.0_2: 100%Installing py311-duckdb-1.0.0...`-- Installing py311-pandas-2.0.3_2,1...| `-- Installing py311-numpy-1.25.0_7,1...| `-- Extracting py311-numpy-1.25.0_7,1: 100%| `-- Installing py311-numexpr-2.10.1...| `-- Extracting py311-numexpr-2.10.1: 100%| `-- Installing py311-bottleneck-1.3.8_1...| `-- Extracting py311-bottleneck-1.3.8_1: 100%| `-- Installing py311-tzdata-2024.1...| `-- Extracting py311-tzdata-2024.1: 100%| `-- Installing py311-pytz-2024.1,1...| `-- Extracting py311-pytz-2024.1,1: 100%| `-- Installing py311-python-dateutil-2.9.0...| | `-- Installing py311-six-1.16.0_1...| | `-- Extracting py311-six-1.16.0_1: 100%| `-- Extracting py311-python-dateutil-2.9.0: 100%`-- Extracting py311-pandas-2.0.3_2,1: 100%Extracting py311-duckdb-1.0.0: 100%=====Message from py311-pandas-2.0.3_2,1:--Install math/py-statsmodels to enable parts of pandas.stats.Install devel/py-xarray to enable the to_xarray() function.Installing py311-numpy-1.25.0_7,1...the most recent version of py311-numpy-1.25.0_7,1 is already installedInstalling py311-pandas-2.0.3_2,1...the most recent version of py311-pandas-2.0.3_2,1 is already installedCould not find package: suricata*** Error code 1Stop.make: stopped in /usr/tools/
If you're okay with not building everything from source, you could prefetch the packages set from my aarch64 repo:# make prefetch-packages SETTINGS=24.7 VERSION=24.7.r2 MIRRORS=https://opnsense-update.walker.earthCheersMaurice
If you also want to use the server for installing updates and plugins on running OPNsense aarch64 systems: Extract the packages set to 24.7/MINT/24.7[.x]/latest/. Create a symlink 24.7/latest/ which links to the latest 24.7/MINT/24.7[.x]/latest/ directory.
root@rpi5:/usr/tools # make fingerprint>>> Executing build step fingerprint on 24.7root@rpi5:/usr/tools #
cd /usr/tools/openssl genrsa -out config/24.7/repo.key 4096openssl rsa -pubout -in config/24.7/repo.key -out config/24.7/repo.pubmake fingerprint
You need to create a key pair before building the sets:Code: [Select]cd /usr/tools/openssl genrsa -out config/24.7/repo.key 4096openssl rsa -pubout -in config/24.7/repo.key -out config/24.7/repo.pubmake fingerprintSave the fingerprint to a file. On the machines which are supposed to use the repository for installing updates and plugins, place this file in /usr/local/etc/pkg/fingerprints/OPNsense/trusted.You can optionally inject the fingerprint file into the OPNsense package during the build process (see my last comment in the thread you linked to). This is useful if your images are used on many systems because you then don't have to manually copy the fingerprint to each machine.CheersMaurice
Hint: you only need fingerprints if you want to feed your builds secure updates. You can also avoid fingerprints and adjust the pkg repo config accordingly.Cheers,Franco
vi /usr/local/etc/pkg/repos/OPNsense.conf
Hi guys,thanks for the help here. it worked just fine, I can build images and update them with no need to a full reinstall I created some simple and not best written scripts to automate this process as a guide for any new comers.Its available here: https://github.com/matheusber/opnsenseThanks again for the help.Franco, what is the process to add new devices?Thanks again nonePS: if changing the thread subject would help in people finding this repo building, its fine by me