I use the latest stable firmware, but I want to use some packages from the bleeding edge. This is how I currently achieve the goal:
Fork openwrt/packages and use the openwrt-<latest stable version> branch.
Use a CI to build the packages I need with the latest stable SDK.
Upload the build result to a HTTP server.
Make my OpenWRT machine use the HTTP server as a custom feed.
This mostly work well. However, there is one major drawback: even if I just change a single package, all needed packages have to be rebuilt and re-uploaded in order for the package index to not miss anything, which can be very time consuming.
I wonder if it's possible to just build the changed packages and have the package index correctly updated? This should also account for omitting packages that were previous built but are not needed anymore.
Do people maintain their own feeds? How are you solving this problem?
Just have a local source repo with the stable 22.03 sources and also the package feed sources, then edit the needed packages by backporting the versions from master to your local 22.03 repo, and then compile a personal firmware.
Likely much easier than keeping a separate .ipk download repo.
My current dev machine is a Mac, and it uses Apple silicon. It seems the build support is flaky. So I opt for a x64 CI. Building the source directly seems to be more time consuming with a CI? Maybe it can speed up if the CI caches build result, but I'm not sure which directories contains the cache?
Using a custom firmware is definitely a better choice when you want to upgrade, but I wonder if it's overkill if you just want to use a new version of package with firmware being the same for example?
The problem is more with the peculiarities of MacOS on Apple silicon, than issues with building on (Linux-) ARM itself. While the situation might be improving over time, I haven't heard any success stories about building on MacOS/ ARM so far.