How does one create a custom package feed in OpenWRT?
I have a number of custom packages that I'm building under OpenWRT that I'd like to add to a custom feed so I can have my openwrt devices pull updates for these custom packages.
I've looked through all of the OpenWRT docs and done several google searches without finding any details. Where can I find documentation, a tutorial, or an example of creating the files required for a custom feed?
I have never done that by myself, but the main steps would be:
compile packages with your toolchain
create package index and signature files. Usually those are created automatically by the full firmware make, but you should be able to create them manually with make package/index if they are missing (e.g. because you compiled the packages separately. Packages, Packages.gz, Packages.manifest, Packages.sig
Note that separate files are for each feed: luci, packages, etc. including your new feed
copy packages, index and signature files to your download location. Note that your files need to be downloadable from that site with wget (opkg uses wget)
edit the /etc/opkg/customfeeds.conf to contain proper definition for your download site. Similar definition as found in distfeeds.conf. Name the feed and provide the download directory URL...
That should enable opkg to download also that package index so that the packages would be foundable.