![]() |
This is an Optware feed for SlugOS/BE (used to be called OpenSlug), with the same toolchain as SlugOS/BE. See SlugosbeDevel to learn how to develop for it. Manual bootstrap (here bootstrap means to setup ipkg without using ipkg):
$ su
# feed=http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/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
To install package after bootstrapping (replace <pkg_foo> <pkg_bar> with your package name): # /opt/bin/ipkg-opt update # /opt/bin/ipkg-opt list # /opt/bin/ipkg-opt install <pkg_foo> <pkg_bar> ... After bootstrapping, we have two independent ipkg commands and two sets of packages:
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:
As always, please direct questions to the appropriate mailing list, or use the IRC channels. [extra info] For some people (like me), which don`t know what bootstrapping means and dont know what to do with the above script lines: sort explanation go to the last line,otherwise read on! <WDTY> ola,sort one...can someone tell me what bootstrapping means? (yeah,red the wiki and google is my friend also, but I mean it in the following context: http://www.nslu2-linux.org/wiki/Optware/Slugosbe ) <eno> in the context of http://www.nslu2-linux.org/wiki/Optware/Slugosbe it means installing /opt/bin/ipkg and all dependencies so you can start using ipkg. <WDTY> ah,okay. but what do I have to do with the above instruction? <eno> the basic problem is that you cannot install ipkg with ipkg. <Reedy_Boy> "In computing, bootstrapping refers to a process where a simple system activates another more complicated system that serves the same purpose." <Reedy_Boy> yeah, you need to get something on so you can get into something else. <eno> in this particular case, you wget and tar extract <eno> on other platforms, it's more automated, you bootstrap ipkg by running a self-extracting xsh (shell) script <WDTY> okay,first I use vi or some to copy/past it in a file ,then chmod,then run? <WDTY> "./bootstrap-bla.sh" <eno> yeah, that works, you can also copy/paste/execute (the above lines) line by line. [/extra info]
view ·
edit ·
print ·
history ·
Last edited by BrianZhou.
Based on work by BrianZhou, WDTY, saned, mwester, Fabio Vassalli, Sinister Shadow, and markstinson. Originally by BrianZhou. Page last modified on July 26, 2008, at 03:15 AM
|