![]() |
Experimental optware target for dlink dns-323. How to useManual bootstrap (you probably want to symlink or bind mount /opt to your big disk):
$ su
# mkdir -p /opt
# mkdir -p /mnt/HD_a2/ipkg/opt
# mount -o bind /mnt/HD_a2/ipkg/opt /opt
# export PATH=/opt/bin:/opt/sbin:$PATH
#
# feed=http://ipkg.nslu2-linux.org/feeds/optware/dns323/cross/unstable
# ipkg_name=`wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}'`
# wget $feed/$ipkg_name
# zcat $ipkg_name | tar -xOvf - ./data.tar.gz | zcat | tar -C / -xvf -
To configure that feed as the default feed, just add in /opt/etc/ipkg.conf src dns323 http://ipkg.nslu2-linux.org/feeds/optware/dns323/cross/unstable List available packages # /opt/bin/ipkg update # /opt/bin/ipkg list You should see a lot of packages listed. Install packages (ipkg manages dependencies, so e.g. installing rtorrent will automatically install libtorrent) # /opt/bin/ipkg install <foo> <bar> Replace <foo> <bar> with package name you want to install. You can set PATH environment varaible in /etc/profile to include /opt/bin and /opt/sbin. Also consider setting TMPDIR environment variable in /etc/profile if the default /tmp is too small for certain programs. Known problems:
[Optional] How to cross build ipkCheck out optware build environment on your linux PC $ cd $HOME (you can use whatever directory you want, of course) $ svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware Setup dns323 optware target $ cd $HOME/optware $ make dns323-target $ cd dns323 $ make directories ipkg-utils $ make toolchain $ make ipkg-opt-ipk Build packages $ cd $HOME/optware/dns323 $ make <foo>-dirclean <foo>-ipk $ make <bar>-dirclean <bar>-ipk See AddAPackageToOptware for more info. Setup your own feedSee DebianArmEtch for hints. |