Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 19:40:01 GMT
From:      Brooks Davis <brooks@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/185480: WORLDTMP first in PATH during installworld
Message-ID:  <201401051940.s05Je1XD009252@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/185480; it has been noted by GNATS.

From: Brooks Davis <brooks@freebsd.org>
To: Nathan Dorfman <na@rtfm.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/185480: WORLDTMP first in PATH during installworld
Date: Sun, 5 Jan 2014 13:30:04 -0600

 I believe that WORLDTMP is first the path to allow new versions of tools
 to be used in the install process.  It's critical that we do this or we
 could only use new tool features after multiple major releases.
 
 It is not supported to build on one system and install on another.  It
 could be, but it isn't now.  Apparently it's never been a high enough
 priority for anyone, probably because there are plenty of workaround.
 
 The simplest workaround is to just do an installworld to some arbitrary
 DESTDIR, tar up the result, remove schg flags on the target with
 "chflags -R noschg /", and extracting the tarball.  With the -DNO_ROOT
 feature I added to the install targets a while back this is easily
 accomplished even without root access on the build system.  Just do
 installworld with -DNO_ROOT and then use ${DESTDIR}/METALOG as the input
 to tar.
 
 -- Brooks



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