Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 14:23:13 -0400
From:      "Michael W. Lucas" <mwlucas@blackhelicopters.org>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Summary: experiences with NanoBSD, successes and nits on a Soekris 4801
Message-ID:  <20050620182313.GA6916@bewilderbeast.blackhelicopters.org>
In-Reply-To: <20050619155228.Y6413@fledge.watson.org>
References:  <20050619155228.Y6413@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050620182313.GA6916>