NSLU2-Linux
view · edit · print · history

If you have built from monotone sometime after ~2005-07-25 23:00 GMT you should be able to run:

  ipkg install slugos-native (or ipkg install openslug-native if you are on a pre 3.10 version)

Otherwise you have to use this:

 #!/bin/sh
  set -x
  ipkg install gnu-config || exit 1
  ipkg install automake || exit 1
  ipkg install binutils || exit 1
  ipkg install binutils-dev || exit 1
  ipkg install bison || exit 1
  ipkg install coreutils || exit 1
  ipkg install cpp || exit 1
  echo "Force overwriting awk with gawk!"
  ipkg install --force-overwrite gawk || exit 1
  ipkg install flex || exit 1
  ipkg install g++ || exit 1
  ipkg install g++-symlinks || exit 1
  ipkg install gcc || exit 1
  ipkg install gcc-symlinks || exit 1
  ipkg install glibc-extra-nss || exit 1
  ipkg install glibc-utils || exit 1
  ipkg install libc6 || exit 1
  ipkg install libc6-dev || exit 1
  ipkg install libg2c-dev || exit 1
  ipkg install libgdbm3 || exit 1
  ipkg install libperl5 || exit 1
  ipkg install libreadline4 || exit 1
  ipkg install libreadline-dev || exit 1
  ipkg install libstdc++-dev || exit 1
  ipkg install libthread-db1 || exit 1
  ipkg install lrzsz || exit 1
  ipkg install m4 || exit 1
  ipkg install make || exit 1
  ipkg install ncurses || exit 1
  ipkg install ncurses-dev || exit 1
  ipkg install ncurses-terminfo || exit 1
  ipkg install bash || exit 1
  ipkg install --force-overwrite wget || exit 1
  ipkg install --force-overwrite tar || exit 1
  ipkg install patch || exit 1
  ipkg install --force-overwrite util-linux || exit 1
  ipkg install --force-overwrite bzip2 || exit 1
  ipkg install cvs


  cd /usr/bin
 # Add extra symlinks for development
  ln -s armeb-linux-cpp cpp
  ln -s armeb-linux-ld ld
 # need to rm ar which points to busybox
  rm ar
  ln -s armeb-linux-ar ar
  ln -s armeb-linux-nm nm
  ln -s armeb-linux-objcopy objcopy
  ln -s armeb-linux-strip strip
  ln -s armeb-linux-ranlib ranlib

  cd /usr/lib
 ## fix the .so
  tail -n 2 libc.so > tmpfile
  mv tmpfile libc.so
  tail -n 2 libpthread.so > tmpfile
  mv tmpfile libpthread.so
view · edit · print · history · Last edited by eFfeM.
Based on work by daka, g2, x-way, repvik, and rcwwang.
Originally by g2.
Page last modified on July 07, 2006, at 01:54 PM