Hi all,
as I am used to carrying complete feeds on my CF card, I was quite dismayed that opie-packagemanager in 3.5.1 is missing the Local packages feature. After some trial-and-error, I've come up with a pretty easy way to provide that functionality by setting up a local package feed. It is assumed you have a copy of the current feed, including the Packages file, in /mnt/cf/feed/current.
export FEED=/mnt/cf/feed/current
ipkg install --force-overwrite `ls $FEED/mime-support_*.ipk`
ipkg install `ls $FEED/boa_*.ipk`
vi /etc/boa/boa.conf # change DocumentRoot to /mnt/cf/feed/
vi /etc/ipkg.conf # add a line 'src local http://localhost/current'
/etc/init.d/boa start
This will add a new feed into Package Manager, called "local" which you can use just like any other feed. Some notes:
- I use the boa ultra-lightweight webserver rather than the FTP server that is running at port 4242 by default. First, I kept getting errors from wget when accessing FTP (even upgrading busybox to r10 didn't help) and second, sync authorization dialogs kept popping up.
- Running a web server does present an additional security risk so you might want to keep it off when not needed (/etc/init.d/boa stop).
- If you want to use a non-standard feed you will have to generate your own Packages file which was not necessary with Local packages. There is a tool for it called ipkg-make-index.sh
Overall, I think the fact that opie-packagemanager resolves dependencies vastly outweighs the Local packages limitation and I'm quite happy with the local feed (I also have the impression that the list of packages is generated faster than it used to be with Local packages).
Hope this helps.
z.