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

_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to