OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • how to develop opnsense iso
« previous next »
  • Print
Pages: [1]

Author Topic: how to develop opnsense iso  (Read 7002 times)

bhawk

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
    • View Profile
how to develop opnsense iso
« 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?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: how to develop opnsense iso
« Reply #1 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
Logged

bhawk

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
    • View Profile
Re: how to develop opnsense iso
« Reply #2 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?
Logged

fabian

  • Moderator
  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: how to develop opnsense iso
« Reply #3 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
Logged

bhawk

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
    • View Profile
Re: how to develop opnsense iso
« Reply #4 on: September 29, 2017, 07:02:52 am »
Quote from: 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
Thanks fabian. Its a great start :)
Logged

bhawk

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
    • View Profile
Re: how to develop opnsense iso
« Reply #5 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: how to develop opnsense iso
« Reply #6 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
Logged

bhawk

  • Newbie
  • *
  • Posts: 24
  • Karma: 2
    • View Profile
Re: how to develop opnsense iso
« Reply #7 on: October 11, 2017, 07:23:29 am »
Quote from: 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
Thanks for the guide franco, things much clear now.
« Last Edit: October 11, 2017, 07:29:06 am by bhawk »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: how to develop opnsense iso
« Reply #8 on: October 12, 2017, 07:54:35 pm »
:)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • how to develop opnsense iso
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2