|
 |
|
 |
|
Howto set up a feed to install ipk's over the network.
To set up a server to serve ipks for the "network installer" a "Feed" needs to be created. A Feed is just a directory with a "Packages"
file listing all of the ipk's in the directory and some basic information about each ipk's. The directory that has the feed needs to be on a web or ftp server.
1) Setting up the server
Set up a web or ftp server and create a feed directory. It can be named
anything, but for the howto will be referred to as "~feed/".
2) Fill the feed Place any ipk's that will be hosted on the feed into the feed directory. Note that only one version of each package can be in the feed and if there are older versions the script will try to move them into an "old" directory. If the old directory doesn't exist the files will be left where they are, but ignored.
3) Generate the Packages file with ipkg-make-index.sh
Download the following script. ipkg-make-index.sh
OpenZaurus Note - OZ uses a different .ipk format so a different script is required to set up a feed for OZ. This script provided by Uwe - OZ-ipkg-make-index.sh
Make sure the ipkg-make-index.sh file is executable.
#chmod +x ipkg-make-index.sh
ipkg-make-index.sh requires that the directory of the feed is passed into the arguments. The script will output a "Packages" file to stdout which can then be piped into the Packages file of the feed directory.
#ipkg-make-index.sh ~feed/ > ~feed/Packages
4) Cron jobs If the feed is being updated constantly it might be worthy to set up a cron job that will generate the feed Packages file automatically.
5) Utilizing the new feed on the Zaurus
Goto the setting tab
Click Add/Remove Software
Click install packages via networks
Click on the switch icon on the bottom left
Click on the New button and add the following
Name: AYummyFeed (insert the name of the feed here)
URL: http://www.foo.com/feed/ (insert the url here!)
Make sure that all of the feeds are selected and then click ok (i.e. enabling
them)
Click ok and exit the network config.
Install any packages by clicking on the package (the package icon of the package wanted, not the text) you wish to install and then then hitting the "Ok" button in the upper right.
|
|
 |
|
 |
    This page was last updated: May 21 2003 06:26:50.
|