OPNsense Forum
English Forums => Development and Code Review => Topic started 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?
-
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
-
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?
-
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
-
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 :)
-
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
-
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
-
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.
-
:)