OPNsense Forum

English Forums => General Discussion => Topic started by: heimi on March 13, 2017, 10:13:32 am

Title: how can I build os-pptp plugins into the firmware?
Post by: heimi on March 13, 2017, 10:13:32 am
hi, I have build the firmware from source, but I want to build os-pptp in the firmware,
how can I do?
Thanks!
Title: Re: how can I build os-pptp plugins into the firmware?
Post by: heimi on March 14, 2017, 07:46:44 am
anyone can give an advice? :)
Title: Re: how can I build os-pptp plugins into the firmware?
Post by: fabian on March 14, 2017, 08:55:19 am
all plugins have a root directory src which you can move inside the matching directory of core. In this case you must also update the dependencies of core.
Title: Re: how can I build os-pptp plugins into the firmware?
Post by: heimi on March 14, 2017, 12:24:01 pm
all plugins have a root directory src which you can move inside the matching directory of core. In this case you must also update the dependencies of core.

hi fabian, thanks for your advice.
Title: Re: how can I build os-pptp plugins into the firmware?
Post by: franco on March 14, 2017, 02:07:33 pm
Hi heimi,

If you talk about building images, that's what ADDITIONS is for:

https://github.com/opnsense/tools#detailed-build-steps-and-options

Just set:

# make cdrom ADDITIONS=os-pptp


Cheers,
Franco
Title: Re: how can I build os-pptp plugins into the firmware?
Post by: heimi on March 17, 2017, 12:35:43 pm
Franco, thank you very much.