Building from Sources - General Questions

Started by Fabricio, April 16, 2018, 08:56:35 PM

Previous topic - Next topic
Hi Franco.
Thanks Much! It's always clarifying to talk to you guys.

So, I am asking about bsdinstaller because the " OPNsense Installer" is still showing the original Welcome message, MOTD and hourglass logo, even after all the customizations. The only location I could see the "Welcome message and logo" was in the bsdinstaller folder.
That's why I have imagined the scripts are still calling/cloning the original opnsense repositories, not the forked one.
The interesting party is that all the other customizations are working really fine. just the "Installer" is still showing the original messages.

Appreciate the help!

Fabricio.

Hey Fabricio,

It's simple if you follow this file: https://github.com/opnsense/tools/blob/master/config/18.1/ports.conf

Everything in this file is built from the ports tree /usr/ports during the "ports" build step.

You can see bsdinstaller is listed under opnsense/bsdinstaller, so you need to modify the source tree, particularly the makefile for it:

https://github.com/opnsense/ports/blob/master/opnsense/bsdinstaller/Makefile#L18-L20

Here you see it points to our GitHub location:

https://github.com/opnsense/bsdinstaller

There are two approaches in FreeBSD ports possible: fork the bsdinstaller, adjust ports Makefile accordingly in your local environment *or* add patches to the files/ directory for manual overrides. Unfortunately these two are a bit harder to explain so I have to refer to the porters handbook:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

But what you can also do is see the history of the opnsense/bsdinstaller directory to get the hang of how it is modified. :)


Cheers,
Franco

Hi Franco. 
Now I got the point!
I am trying this "or" that, during the day.

I am having great times, believe me. :-)
Once again, I really appreciate the help.

Fabricio.


Thank you very much.
เกมยิงปลา
Really good information I tried for the first time yesterday Takes no more than 5h: 30 minutes
เทคนิคเล่นเกมยิงปลาออนไลน์
Today I tweaked some items and added a winbind - samba script to the main menu, including cosmetic changes.
เดิมพันเกมส์ยิงปลาแจกโบนัสฟรี
I will clone the tool again and try it. "Update", maybe it will only download "Change" information, right? I really enjoyed this period.
สมัครสมาชิกเล่นเกมยิงปลาเว็บไหนดีสุด?
Thank you so much