Earlier this year I was experimenting with installing FreeBSD 9-CURRENT on the ARM-based NS-K330. A major stumbling block was building Packages from the Ports collection — the NS-K330 had basically no room (nor CPU grunt) to build packages locally. Recently I’ve utilised an indirect solution — build packages on a colleague’s DreamPlug running FreeBSD 9, then install the packages on the NS-K330.
The Dreamplug is currently running FreeBSD 9.0-RC1 #35 r226624M: Wed Oct 26 12:06:18 EST 2011
The key steps are as follows:
- Build packages from Ports on the Dreamplug, and install them locally
- Use “pkg_create -Rb <pkg_name>” on the Dreamplug to create package tarballs of currently-installed package <pkg_name> and its dependencies (Use “pkg_info -r <pkg_name>” to find the dependencies before hand.)
- Copy the package tarballs across to the NS-K330
- Use “pkg_add” as required on the NS-K330