Pulling with custom changes

Hello,

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:
BUT
I would like have the possibility to update openwrt to latest version. How to handle these custom changes?

Thx.

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.

2 Likes

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.

2 Likes