How to make a local repository for .ipk packages ?

EdorFaus edorfaus at xepher.net
Sat Jan 30 02:40:46 CET 2010


On Thursday 28 January 2010 18:55:41 dehqan65 wrote:
> https://dev.openwrt.org/browser/trunk/scripts/ipkg-make-index.sh

This script does the wrong thing in one place:

> tar -xzOf $pkg ./control.tar.gz

.ipk files are not tar archives, with or without gzip - they are ar archives.

So, to extract the control.tar.gz file to stdout, you want to use this command 
instead:

ar p $pkg control.tar.gz

(notice the lack of a "t" in the program name)

Regards,
Frode Austvik



More information about the community mailing list