First, emerge layman (you need to build it with svn support, so USE="svn", maybe you should set it just local). Then add the overlay with layman -a openmoko and put source /usr/local/portage/layman/make.conf in your /etc/make.conf. At least, have a look at /usr/local/portage/layman/make.conf, and add make PORTDIR_OVERLAY look like this: PORTDIR_OVERLAY="/usr/local/portage/layman/openmoko/trunk/openmoko-target"

Setup install mask if you don't want compiler headers/docs etc (mask headers only if you'll be always using binary packages)

e.g.

export INSTALL_MASK="*.h"

Add the following line to make.conf to tell portage to always use binary packages.

EMERGE_DEFAULT_OPTS="-gK"

Alternative: Squashed Portage

An alternative to installing a full, writable, and uncompressed portage tree directly on the microSD card, is to compress portage using SquashFS and then to mount the resulting SquashFS file (usually compressed from about 500 MB to 50 MB) at /usr/portage.

In this case, it is also suggested to set DISTDIR to /tmp/distfiles, because the default DISTDIR (/usr/portage/distfiles) is not writable. Similarly, PKGDIR can be set to /tmp/binpkgs instead of the default /usr/portage/packages.

See this blog post for further details. If you are lacking in extra space on your flash device, or are concerned about extraneous write-cycles to your flash memory, then you should perform all of the steps on desktop linux machine and then finally copy the resulting squashfs image to the FreeRunner.

Openmoko Overlay

First, emerge layman (you need to build it with svn support, so USE="svn", maybe you should set it just local). Then add the overlay with layman -a openmoko and put source /usr/local/portage/layman/make.conf in your /etc/make.conf. At least, have a look at /usr/local/portage/layman/make.conf, and add make PORTDIR_OVERLAY look like this: PORTDIR_OVERLAY="/usr/local/portage/layman/openmoko/trunk/openmoko-target"

Binary package wishlist

As i'll be adding some packages to ftp above you might want to ask for some package here: GentooPackageWishList

Setup install mask if you don't want compiler headers/docs etc (mask headers only if you'll be always using binary packages)

e.g.

export INSTALL_MASK="*.h"

Add the following line to make.conf to tell portage to always use binary packages.

EMERGE_DEFAULT_OPTS="-gK"

Alternative: Squashed Portage

An alternative to installing a full, writable, and uncompressed portage tree directly on the microSD card, is to compress portage using SquashFS and then to mount the resulting SquashFS file (usually compressed from about 500 MB to 50 MB) at /usr/portage.

In this case, it is also suggested to set DISTDIR to /tmp/distfiles, because the default DISTDIR (/usr/portage/distfiles) is not writable. Similarly, PKGDIR can be set to /tmp/binpkgs instead of the default /usr/portage/packages.

See this blog post for further details. If you are lacking in extra space on your flash device, or are concerned about extraneous write-cycles to your flash memory, then you should perform all of the steps on desktop linux machine and then finally copy the resulting squashfs image to the FreeRunner.