Using a Dreamplug to build FreeBSD 9 packages for NS-K330

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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: