Notes on installing ipkg on white light MyBook
please use this informations with caution
cs05q3armel is an old feed
better go to http://mybookworld.wikidot.com/optware
########################################################
What I needed to get ipkg optware working on a MyBook World (White Light).
I found this following very helpful snippet from bzhou (thanks!) in the forum:
test -e /opt && mv /opt /opt.bak
mkdir -p /big-disk/opt && ln -sf /big-disk/opt /opt
wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/unstable/ipkg-opt_0.99.163-10_arm.ipk
tar -xOvzf ipkg-opt_*_arm.ipk ./data.tar.gz | tar -C / -xzvf -
mkdir -p /opt/etc/ipkg
echo "src armel http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/unstable" > /opt/etc/ipkg/armel-feed.conf
/opt/bin/ipkg update
/opt/bin/ipkg install <pkg_foo> <pkg_bar> ...
However, there were a few minor additional things needed to get it working smoothly. In the following, I've inserted these additional tweaks where appropriate. My insertions have a line of whitespace before and after, and are also indented.
(Buyer beware: I'm reconstructing this from notes after the fact—have not re-tested)
test -e /opt && mv /opt /opt.bak
mkdir -p /big-disk/opt && ln -sf /big-disk/opt /opt
#following helps with some packages that you might install which need the sort command. Might as well do this from the start
wget http://mybookworld.wikidot.com/local--files/optware/sort_dirname.tar.gztar xvfz sort_dirname.tar.gz -C /
wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/unstable/ipkg-opt_0.99.163-10_arm.ipk
tar -xOvzf ipkg-opt_*_arm.ipk ./data.tar.gz | tar -C / -xzvf -
mkdir -p /opt/etc/ipkg
echo "src armel http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/unstable" > /opt/etc/ipkg/armel-feed.conf
#This fixes any problems with update-alternatives
PATH=$PATH:/opt/bin
#BTW, you might want to export this updated PATH in bashrc if you want /opt/bin stuff permanently in path
/opt/bin/ipkg update
/opt/bin/ipkg install <pkg_foo> <pkg_bar> ...