NSLU2-Linux
view · edit · print · history

Optware.Slugosle History

Hide minor edits - Show changes to markup

March 14, 2009, at 04:09 PM by BrianZhou -- use optware/slugos4le as feed name
Changed line 8 from:
 # feed=http://ipkg.nslu2-linux.org/feeds/optware/slugosle/cross/unstable
to:
 # feed=http://ipkg.nslu2-linux.org/feeds/optware/slugos4le/cross/unstable
March 13, 2009, at 05:00 AM by mwester --
Added lines 1-2:

NOTE: This page is for SlugOS 4.8 ONLY, do NOT use this procedure with SlugOS 5.3!

December 04, 2007, at 08:01 AM by ka6sox --
Changed lines 1-2 from:

This is an Optware feed for SlugOS/LE (used to be called OpenSlug), with the same toolchain as SlugOS/LE. See SlugosbeDevel to learn how to develop for it.

to:

This is an Optware feed for SlugOS/LE (used to be called DebianSlug), with the same toolchain as SlugOS/LE. See SlugosbeDevel to learn how to develop for it.

December 04, 2007, at 08:00 AM by ka6sox --
Added lines 1-25:

This is an Optware feed for SlugOS/LE (used to be called OpenSlug), with the same toolchain as SlugOS/LE. See SlugosbeDevel to learn how to develop for it.

Manual bootstrap:

 $ su
 # feed=http://ipkg.nslu2-linux.org/feeds/optware/slugosle/cross/unstable
 # ipk_name=`wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}'`
 # wget $feed/$ipk_name
 # tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
 # sed -i -e 's|/stable|/unstable|' /opt/etc/ipkg.conf
 # /opt/bin/ipkg update
 # /opt/bin/ipkg install <pkg_foo> <pkg_bar> ...

After bootstrapping, we have two independent ipkg commands and two sets of packages:

  1. /usr/bin/ipkg
  2. /opt/bin/ipkg-opt

It's important to make sure you specify the command clearly (explicitly with full path if you do not have the PATH including /opt/bin).

Keep in mind the following:

  • Make sure your environmental variables, like PATH, are updated to include your /opt directories, like /opt/bin. Otherwise, /opt installed utils & shared libraries may not be found. ie. by adding the /opt/bin path to /etc/profile
  • ALWAYS check to see if a package is available via the ipkg command first, before installing it using ipkg-opt. It shouldn't cause a problem, but it just makes sense. Version & library compatibility issues plague users even for the standard Linux distributions.

As always, please direct questions to the appropriate mailing list, or use the IRC channels.

view · edit · print · history · Last edited by BrianZhou.
Based on work by mwester and ka6sox.
Originally by ka6sox.
Page last modified on March 14, 2009, at 04:09 PM