NSLU2-Linux
view · edit · print · history

How to compile Unslung and OpenSlug using a restricted set of packages (which saves time and memory size on the compilation machine)

Compiling uNSLUng under a low memory.

Compiling with Pentium III/256mb RAM with Linux has been tested using the nslu2-package-symlinks clone as well as the standard openembedded clone. Compiling under low memory results as Terminated during parsing of BBFILES. While testing under low memory machine, I came up to 95% when I had killed nearly all other tasks running on the machine. This page will guide you on how to use nslu2-package-symlinks. nslu2-package-symlinks isn't just for low memory machines, under normal circumstances it might be considered to be used in faster machines with more memory also, as it saves time.

Change package source

Follow the directions in GettingStarted or StepByStepSetup (I'd consider using StepByStepSetup documentation) until you come to this:

 bk clone bk://nslu2-linux.bkbits.net/openembedded

and then also clone the nslu2-package-symlinks repo like this:

 bk clone bk://nslu2-linux.bkbits.net/nslu2-package-symlinks nslu2-package-symlinks

Next part is to set up your build/conf/local.conf

You could have changed last parameter to openembedded to skip this part but we don't like shortcuts, so you can create your local.conf as explained in other documentations, but you instead of using this line:

 BBFILES = ${OEROOT}/openembedded/packages/*/*.bb

we will use:

 BBFILES = ${OEROOT}/nslu2-package-symlinks/packages/*/*.bb

Now just follow directions of GettingStarted or StepByStepSetup.

view · edit · print · history · Last edited by rwhitby.
Based on work by jake and rwhitby.
Originally by r2004roellig.
Page last modified on April 14, 2005, at 10:26 PM