OPNsense Forum

English Forums => General Discussion => Topic started by: 1punman on July 03, 2025, 11:44:18 PM

Title: My own patches?
Post by: 1punman on July 03, 2025, 11:44:18 PM
I'm switching over from pfsense, which has a "patches" package/page. In short, I can overlay any code on top of existing one.
I see OPNsense has opnsense-patch - but the examples only show git commits (from official tree, I presume)

Is there a way to set up my own series of patches?
I'm guessing I'd have to set up my own git repo clone of the core & use that? Or is there some other way?

Thanks!
Title: Re: My own patches?
Post by: meyergru on July 03, 2025, 11:52:16 PM
When you look at man opnsense-patch, you will see that you can use arbitrary repositories. So, yes, you can clone the official repos, modify them and apply your own commits.