I'm wondering how hard is it to create a custom repository/feed for LEDE project?
Specifically I have the following questions:
How does Packages.sig get created? Is it required for the opkg (or Image Builder) to properly download/install packages?
Packages.manifest, Packages and Packages.gz -- why the need for 3 copies of the same file and, more importantly, how can I have it generated on a Linux host from the set of ipk files?
Those files are usually generated at the end of the build run for each of the package feeds repos.
I guess that you might copy compiled ipks to a new dir and then repeat the commands needed for generating the index and signing it (using your build key)
As the signing is done with the same build key that you use to build your firmware (and packages), the firmwares compiled by you will already contain the same key in opkg settings, so the firmware will accept the signed package list.
Not sure as I have never tried that, but I assume that you/they need download the key from you and place it to the same place where the other built-in keys are. That is how it would work with opkg at the router. But I am not sure how SDK or IB do things. Either the official/accepted keys are in a directory and this approach works, or it just uses the keyring package that includes all keys and then things are more difficult.