Creating and Maintaining ipkg Feeds
-
Create a directory accessible from FTP or HTTP to contain your packages. This is the feed.
-
Build your ipkg's (See BuildingIpkgs) and put the .ipk files into the feed.
-
Create the Packages file. This is the index used by ipkg so that it knows what ipkg's are available and what versions are available. This file is created by running ipkg-make-index in the directory. You can get ipkg-make-index from here: ftp://lorien.handhelds.org/pub/linux/feeds/demo/ipkg-tools.tgz Just copy it in the packages folder and do:
ipkg-make-index . > Packages
-
Tell people where your feed is and announce new packages added to the feed.
That's all there is to it, except for the caveats noted below.
Caveats
-
Only one version of each package can be in the feed or else ipkg gets confused.
-
There are two different types of ipks, generated by different versions of ipkg. Some are compressed by tar, others (really old or really new versions) are compressed by ar. If you need to index ar compressed packages instead of tar compressed ones, The beginning of the line
tar -xzOf $pkg ./control.tar.gz | tar xzOf......
-
should be changed to
ar -pf $pkg ./control.tar.gz | tar xzOf.....
-
in ipkg-make-index
Sunil V. adds: I had better luck creating a feed with the tools found in http://handhelds.org/download/packages/ipkg-utils/