Pulling with custom changes


I would like ask you:

I'm compiling openwrt by myself and I have a lot of custom changes in openwrt base/kernel... These changes are not compatible with base OpenWrt and developers dont want them in main openwrt tree :slight_smile:
I would like have the possibility to update openwrt to latest version. How to handle these custom changes?


Write them all as patches, and wrap the build environment in a pre-build script which downloads, patches, then builds.

This is how the Gargoyle build system works

There's a lot of stuff you won't need in that script, but the core idea is applicable.


Thanks for hint. I'll try dig into it :slight_smile:

I don't ever do a straight git pull - I use git fetch and git rebase. This bounces all of my local commits to tip of the branch.