On Fri, Apr 26, 2002 at 11:59:21AM -0700, Marcel Moolenaar wrote:
> On Fri, Apr 26, 2002 at 09:26:34PM +0300, Ruslan Ermilov wrote:
> 
> > I.e., if you built world a month ago, and didn't touch /usr/src
> > since, and /usr/obj has "buildworld" output for this /usr/src,
> > and you have booted with this world, it should be okay to start
> > building today's release.
> 
> I share my src tree, so I almost always have a /usr/src that's not
> in sync with the /usr/obj for and on a particular machine.
> 
> What goes wrong if /usr/src and /usr/obj are out of sync?
> 
The prerequisite for a successful "make release" is to "installworld"
first the same world as you are currently running.  This is done to
create a pristine environment (with an empty /etc/make.conf, etc.)
which is then chroot'ed into.

Also, when I wrote "/usr/src" and "/usr/obj" I didn't mean them
literally.  "make world" in /my/src-5 with MAKEOBJDIRPREFIX=/his/obj
and /his/obj/my/src-5 staffed with the "buildworld" output from
the above should work too.


Cheers,
-- 
Ruslan Ermilov          Sysadmin and DBA,
[EMAIL PROTECTED]           Sunbay Software AG,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

Attachment: msg37735/pgp00000.pgp
Description: PGP signature

Reply via email to