Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2002 16:12:59 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Thomas Spreng <spreng@socket.ch>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to change installworld installation root directory?
Message-ID:  <20021218141259.GD4032@gothmog.gr>
In-Reply-To: <20021218083529.GA15130@rock.stable.ch>
References:  <Pine.A41.4.10.10212171740040.45200-100000@bessel.tekniikka.turkuamk.fi> <20021217155100.GB34511@happy-idiot-talk.infracaninophi> <200212171750.07541.kstewart@owt.com> <20021218083529.GA15130@rock.stable.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-12-18 09:35, Thomas Spreng <spreng@socket.ch> wrote:
> On Tue, Dec 17, 2002 at 05:50:07PM -0800, Kent Stewart wrote:
> > On Tuesday 17 December 2002 07:51 am, Matthew Seaman wrote:
> > >
> > >     make installworld DESTDIR=/mnt
> > >
> > > installs everything relative to /mnt instead of / --- see
> > > jail(8) for some examples of doing just that.
> >
> > What I do is create /usr/src and /usr/obj as their own 1.5 GB
> > partitions. That is 4-5x larger than I need. Then, I can NFS_mount
> > them on any system as /usr/src and /usr/obj. You don't have to
> > play games with names, DESTDIR, or etc.
>
> why would you want /usr/obj nfs mounted as well?

Because "make installworld" will find any compiled programs under that
path, and copy them to their destination.  /usr/src doesn't contain
executables or libraries[1].  The sources from /usr/src are compiled
to executables and saved under /usr/obj.

If you don't have machines of completely different architectures, you
can buildworld once, then mount /usr/obj and /usr/src as many times as
you want and install the same userland/kernel to a lot of machines.

- Giorgos

[1] Not 100% true, but if you follow the recommended instructions for
doing upgrades through source, this is what happens.

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?20021218141259.GD4032>