From owner-freebsd-current@FreeBSD.ORG Mon Jun 20 18:23:14 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A57B616A41C; Mon, 20 Jun 2005 18:23:14 +0000 (GMT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63F5D43D48; Mon, 20 Jun 2005 18:23:14 +0000 (GMT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas@localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10) with ESMTP id j5KINDOu007009; Mon, 20 Jun 2005 14:23:13 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10/Submit) id j5KIND7a007008; Mon, 20 Jun 2005 14:23:13 -0400 (EDT) (envelope-from mwlucas) Date: Mon, 20 Jun 2005 14:23:13 -0400 From: "Michael W. Lucas" To: Robert Watson Message-ID: <20050620182313.GA6916@bewilderbeast.blackhelicopters.org> References: <20050619155228.Y6413@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050619155228.Y6413@fledge.watson.org> User-Agent: Mutt/1.4.1i X-Spam-Score: (0) X-Scanned-By: MIMEDefang 2.39 Cc: current@freebsd.org Subject: Re: Summary: experiences with NanoBSD, successes and nits on a Soekris 4801 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 18:23:14 -0000 On Sun, Jun 19, 2005 at 04:10:00PM +0100, Robert Watson wrote: > XXX I liked that it seemed easy to do incremental rebuilds with NanoBSD, > but found I had to do a fair amount of manually deleting intermediate > targets to get it to work. One thing I found that really didn't work > was that if you install any third party packages, you have to blow away > the DESTDIR install tree or when you re-build, the packages conflict and > abort the image creation. Posted so someone else will save the time I spent figuring this out: I've added pkgs to CUSTOMIZE in make.conf, created the Pkg subdirectory, and stuck a whole bunch of packages in there. Some of these packages are dependent on others: i.e., dnswalk requires perl and assorted p5-Digest-blah packages. Of course, I have the dependency packages in the Pkg directory. The nanobsd build stops with "*** error code 4". The Customize/pkg script tries to add each package in order. It installs the dependencies when installing the package, just as you would expect. When it gets to the dependency package, it generates an error even though the packages have been installed. When you have X packages that have been previously installed, you get error code X. The fix is pretty complicated. After the build stops, do # mv _.cs.tmp _.cs # make Overall, though, I have to say that nanobsd sucks far less than any of the previous options I had. ==ml -- Michael W. Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ "The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur