From owner-freebsd-small@FreeBSD.ORG Thu Apr 26 05:45:20 2007 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A1A416A403 for ; Thu, 26 Apr 2007 05:45:20 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id 969F713C45A for ; Thu, 26 Apr 2007 05:45:19 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id l3Q5BGRx041184; Thu, 26 Apr 2007 13:11:16 +0800 (KRAST) (envelope-from eugen@kuzbass.ru) Message-ID: <46303474.560186@kuzbass.ru> Date: Thu, 26 Apr 2007 13:11:16 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: Jordan Coleman References: <14320DBA-7A3B-4CA6-BC60-D2BF8EA77C71@JordanColeman.com> <20070420120952.GA28426@svzserv.kemerovo.su> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Cc: freebsd-small@freebsd.org Subject: Re: Building NanoBSD with ports and packages X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2007 05:45:20 -0000 Jordan Coleman wrote: > > Just add to your nanobsd.conf: > > > > NANO_CUSTOMIZE="/path/to/localfiles" > > > > Place packages to /path/to/Pkg subdirectory. > > > > Here comes the script "localfiles": > [...] > > Okay, neat. Looks like it'll do the trick. This is pretty close to > (but better thought-out than) the approach I had been thinking about. > > I'm wondering, is it possible/practical/safe to do port "make > install"s inside the chroot to avoid having to have pre-built > packages? Is there a simpler way? I prefer to keep pre-built packages. It takes less time to rebuild Nano image then. And makes software behavour more stable. And takes less space in the NANO_WORLDDIR. You can always build a port outside of Nano world and obtain a package using 'pkg_create -b'. Eugene Grosbein