From owner-freebsd-small@FreeBSD.ORG Fri Jun 9 10:06:59 2006 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7127816A419 for ; Fri, 9 Jun 2006 10:06:59 +0000 (UTC) (envelope-from small1@jamcotimes.com) Received: from courageux.cnchost.com (courageux.cnchost.com [207.155.248.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36C1743D72 for ; Fri, 9 Jun 2006 10:06:59 +0000 (GMT) (envelope-from small1@jamcotimes.com) Received: (www@localhost) by courageux.cnchost.com id GAA04258; Fri, 9 Jun 2006 06:06:55 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Message-ID: <200606091006.GAA04258@courageux.cnchost.com> Errors-To: From: Jeff S To: Date: Fri, 09 Jun 2006 03:06:55 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: adding ports (and apps) to NanoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeff S List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 10:06:59 -0000 I installed NanoBSD on a DamnSmallMachine (VIA C3 Nehemiah and IDE flash disk). I like the architecture and it booted on the first try. Well done! What's the "proper" way to add ports and apps? I tried ... Manually installing in the Files hierarchy. Pro: Do it once. Cons: Tedious. Impractical for large ports. Pkg_add in /usr/obj/.../_.w Run nanobsd.sh, chroot to /usr/obj/.../_.w, run=20 pkg_add. Re-run the last three parts of nanobsd.sh (prune_user, create_*_diskimage, and last_orders). Pro: Works. Cons: Gets trashed during rebuild. Doesn't scale. The following methods failed. Mount _.disk.image, chroot, then pkg_add. Out of free space during perl5.8 installation. Unionfs (empty dir over .../_.w), chroot, and pkg_add. Pkg_add failed. Unionfs of .../Files over .../_.w could be ideal. Any suggestions? Also, I found this web page very useful. Thanks Daniel. Unfortunately, there are no links to it. http://www.freebsd.org/handbook/nanobsd.html I'll mention it here so it might get picked up by search=20 engines. Thanks, Jeff