OPNsense Forum

English Forums => Development and Code Review => Topic started by: bhawk on September 27, 2017, 07:39:40 pm

Title: how to develop opnsense iso
Post by: bhawk on September 27, 2017, 07:39:40 pm
Hello
I have seen instructions on github page regarding how to build image. While i have not tried it yet, i would like to know if it is possible to build image with selected packages e.g we dont need dhcp v6. Few other packages can be removed this way. Is there any way to develop such custom image?
Title: Re: how to develop opnsense iso
Post by: franco on September 27, 2017, 07:58:25 pm
Hi,

You will have to use your own copy / branch of the core repository to achieve this and delete all dependencies / files that are not needed, but that also means you won't benefit from the upgrade mechanism.


Cheers,
Franco
Title: Re: how to develop opnsense iso
Post by: bhawk on September 28, 2017, 08:50:28 am
Thanks for replying ranco, as i understand the core contains gui components. Or does it contain the list/actual packages too that are built during compilation process?
Title: Re: how to develop opnsense iso
Post by: fabian on September 28, 2017, 10:05:34 am
Core dependencies:
https://github.com/opnsense/core/blob/master/Makefile#L74-L134

Ports to build:
https://github.com/opnsense/tools/blob/master/config/17.7/ports.conf
Title: Re: how to develop opnsense iso
Post by: bhawk on September 29, 2017, 07:02:52 am
Core dependencies:
https://github.com/opnsense/core/blob/master/Makefile#L74-L134

Ports to build:
https://github.com/opnsense/tools/blob/master/config/17.7/ports.conf
Thanks fabian. Its a great start :)
Title: Re: how to develop opnsense iso
Post by: bhawk on October 09, 2017, 09:09:26 am
where are the dowloaded port files saved? i have checked ports folder but the disfile folder doesnt exist. also how can i resume an old image development process? any help will be appreciated
Title: Re: how to develop opnsense iso
Post by: franco on October 09, 2017, 09:49:31 am
We have docs for this... https://github.com/opnsense/tools#advanced-package-builds

Please refer to specific sections of the document if you have trouble with them.


Cheers,
Franco
Title: Re: how to develop opnsense iso
Post by: bhawk on October 11, 2017, 07:23:29 am
We have docs for this... https://github.com/opnsense/tools#advanced-package-builds

Please refer to specific sections of the document if you have trouble with them.


Cheers,
Franco
Thanks for the guide franco, things much clear now.
Title: Re: how to develop opnsense iso
Post by: franco on October 12, 2017, 07:54:35 pm
:)