[LEDE-DEV] making new package lists for LEDE wiki's bot

Alberto Bursi alberto.bursi at outlook.it
Sat Dec 17 09:56:04 PST 2016



On 12/17/2016 04:14 PM, Alberto Bursi wrote:
> Lately the "Source: " entry was removed from package lists.
> This is breaking the script I use to generate the package lists for the
> LEDE wiki's table of packages [1] and package indexes [2].
>

Hmm, found the file that removed that line (and others I didn't notice 
yet), it's in scripts/ipkg-make-index.sh.

I can easily modify the file package/Makefile to generate a second 
package list with only the info I need.

I have yet to figure out how to add other info to it and if it is 
possible at all without polluting the "control" file in the package, as 
it seems Category and Submenu aren't available in the "control" file 
read by ipkg-make-index.sh.
It seems the control file is generated by scripts/metadata.pm or some 
other Perl script calling it, and I don't know Perl syntax so I can't 
get much further.

-Alberto





More information about the Lede-dev mailing list