Build dvd image with opnsense/tools

Started by fbarco, February 04, 2020, 10:11:28 AM

Previous topic - Next topic
Hello,
I've built a dvd image /usr/local/opnsense/build/20.1/amd64/images/OPNsense-3.0-OpenSSL-dvd-amd64.iso with opnsense/tools
Here is my configuration :

~/git/opnsense/eole/tools (amon3)$ git diff upstream/master amon3 config/20.1
/build.conf
diff --git a/config/20.1/build.conf b/config/20.1/build.conf
index fd801cc2..c44b4c49 100644
--- a/config/20.1/build.conf
+++ b/config/20.1/build.conf
@@ -7,3 +7,11 @@ RUBY?=         26
COREBRANCH?=   stable/20.1
PLUGINSBRANCH?=        stable/20.1
SRCBRANCH?=    stable/20.1
+TOOLSBRANCH=amon3
+
+ADDITIONS="py37-salt"
+VERSION=3.0
+SERVER=barco@barco.eole.lan
+UPLOADDIR=/home/barco/tmp/eole/opnsense/prefetch
+PRODUCT_PUBKEY=/usr/tools/config/20.1/repo.pub
+PRODUCT_PRIVKEY=/usr/tools/config/20.1/repo.key

~/git/opnsense/eole/tools (amon3=)$ git diff upstream/master amon3 config/20.1/ports.conf
diff --git a/config/20.1/ports.conf b/config/20.1/ports.conf
index f2af921..75548a3 100644
--- a/config/20.1/ports.conf
+++ b/config/20.1/ports.conf
@@ -197,6 +197,7 @@ sysutils/munin-node                         arm,arm64,i386
sysutils/node_exporter                         arm,arm64
sysutils/nut                                   arm,arm64
sysutils/pftop
+sysutils/py-salt                                arm,arm64
sysutils/screen
sysutils/smartmontools                         arm,arm64
sysutils/sysinfo

~/git/opnsense/eole/tools (amon3=)$ git diff upstream/master amon3 config/20.1/extras.conf
diff --git a/config/20.1/extras.conf b/config/20.1/extras.conf
index 11e35cc..5c97968 100644
--- a/config/20.1/extras.conf
+++ b/config/20.1/extras.conf
@@ -4,6 +4,7 @@ loader_conf_fixup()
         if [ -f ${1}/usr/local/etc/rc.loader ]; then
                chroot ${1} /usr/local/etc/rc.loader
        fi
+ echo 'salt_minion_enable="YES"' > ${1}/etc/rc.conf.d/salt_minion

        cat >> ${1}/boot/loader.conf << EOF
kern.cam.boot_delay="10000"


Now i want to customize the NAME option with "Amon" value, but when i run make dvd, it stops with error 1

Could not find package: amon
*** Error code 1

Stop.
make: stopped in /usr/tools


What is this package amon ?
How can it be built ?

Hi,

We can't support you with this, because you obviously try to build with your own modifications.

Let me just say "amon" is a package that is required but not available from your build scripts...


Cheers,
Franco

OK, thanks Franco.

I'll try to make a ports package.

regards,
Fabrice