p4u/confine-dist — comment on commit fe9d9f8118af8ff5de39bcb80604e3c43e905f79
File:  line 0
By nathansamson:

Shouldn't this at least be done every "sync" too? When you add a recipe now to git you have to restart from scratch to apply it... (or do it manually)

What with "./scripts/feeds update"? This will break when you modify a file and the git (or svn) checkout wants to update it.
I know this is not a problem when the packageset is frozen (like you are doing), but I am following the backfire branch, and keeping up to date with that branch.

I think that when doing a sync we should unapply recipes (doing the diff in the reverse way should be possible with patch -R patchfile), updating the feeds, reapply all recipes.

Also in my case it would be easier to apply all patches to src/feeds/packages instead of packages/openwrt because I don't "manage" the feed checkout myself, so I don't have that directory (but I probably need the same recipes/patches).

Maybe it is a better idea anyway to create a "fork" of the feeds (we want to patch), and add the patches there, than to have them in the Makefile. (This is what I had done with OpenWrt-Packages before, but I deleted that because my patches were already obsolete, but we could revive the idea).