Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 15:44:31 -0900
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Colin <freebsd@southportweb.co.uk>
Subject:   Re: Upgrade 7.0 to 7.2 installworld failed
Message-ID:  <200912241544.31677.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <4B33B73E.70609@southportweb.co.uk>
References:  <4B33845D.40206@southportweb.co.uk> <200912240730.30893.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <4B33B73E.70609@southportweb.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 24 December 2009 09:47:26 Colin wrote:

> On 24/12/2009 16:30, Mel Flynn wrote:
> > I'm going to guess from the fact that installworld tries to build stuff,
> > that /usr/obj is a filesystem that isn't mounted after your reboot or
> > that the MAKEOBJDIRPREFIX you had set in your environment before reboot,
> > is unset.
> 
> /usr/obj is a folder within the /usr partition not its own filesystem
> and /usr is mounted fine so unfortunately for me its nothing as simple
> as that.
> 
> As to the prefix, I haven't manually set that anywhere. The buildworld
> log seems to set it during the build as there are several make lines
> with things like "MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue" and
> "MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp"

Take the reboot out of the equation and keep  it simple:
su to root
mkdir /usr/testdir
cd /usr/src
env -i make buildworld
env -i make installworld DESTDIR=/usr/testdir

Kernel has nothing to do with installworld target.
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912241544.31677.mel.flynn%2Bfbsd.questions>