Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 23:53:18 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        john@T-F-I.freeserve.co.uk
Cc:        questions@freebsd.org
Subject:   Re: 4.2-stable
Message-ID:  <14951.54862.440358.499986@guru.mired.org>
In-Reply-To: <q1se6tglb1jre4fk3kgvs19rqme6eqd6vj@4ax.com>
References:  <110734453@toto.iv> <14949.59423.534928.667849@guru.mired.org> <q1se6tglb1jre4fk3kgvs19rqme6eqd6vj@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Murphy <john253@crosswinds.net> types:
> >I do the two builds on the PII, then switch to the AMD machine and do
> >the installs, merge and reboot. After that's done, I go back to the
> >PII and go through the same process with it.
> >
> >It works quite nicely, and saves me quite a bit of time. Not the days
> >you're discussing, but certainly hours. If I ever buy a laptop, I'll
> >almost certainly treat it the same way as I do the AMD box.
> 
> I'm trying something quite similar for the first time (only just started
> using cvsup, nfs and buildworld etc.).  The nfs server is a Cyrix 486 cpu
> called 'wall' and the nfs client is an AMD Duron 'lexx'.
> 
> Cvsup got me STABLE src-all last evening and I nfs mounted wall's /usr on
> lexx as /wall.  Made buildworld in /wall/src in just 1:45min!
> 
> I'd like to track stable on both, but I'm a little confused about the next
> steps.  The object files have been made in directories in /usr/obj/wall/src
> on lexx.  Is this ok?  As the nfs server/client is only one way, I don't
> quite see how I'll make installworld on wall.

I don't think it'll work this way - you need to have the object and
source trees mounted on *both* systems. So either they both have to
live on the server (which is what I do), or both machines have to be
servers.

Notice the name "/usr/obj/wall/src/...." - the real names of the
source directories need to be the same on both systems.

I have my sources on a shared scratch partition (/sharetmp). Both
machines mount it as /sharetmp, and symlink /usr/src to
/usr/sharetmp. The server (and build machine) then exports /usr/obj
read-only, and the client mounts it on /usr/obj.

> Can I put both kernel config files in /sys/i386/conf/ and then set
> /etc/make.conf appropriately to make each kernel and then just do
> the make installkernel part on each one?

Once you get the object and source trees on both machines, yes. That's
exactly what I was describing doing. The "LINT" stuff you snipped was
actually the make.conf settings for the two machine.s

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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