Upgrade 7.0 to 7.2 installworld failed

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Fri Dec 25 00:44:40 UTC 2009


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


More information about the freebsd-questions mailing list