How to compile OpenWrt and still use the official ...
https://hamy.io/post/001528.08.2019 · opkg list-installed kernel To check the vermagic of an OpenWrt build (before installing it), you can search for the “ kernel ” entry in the .manifest file. Now to fix this, you may decide to build the offending packages at the build time. You can either embed them in the image or just install them as separate packages later on, and that works.
[OpenWrt Wiki] Creating packages
https://openwrt.org/docs/guide-developer/packages24.07.2009 · Creating packages See also -> Package Policy Guide, which contains a wealth of extra technical information not covered here. One of the things that we've attempted to do with OpenWrt's template system is make it incredibly easy to port software to OpenWrt. If you look at a typical package directory in OpenWrt you'll find three things: