Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Apr 2006 20:45:38 +0200
From:      Lars Cleary <lars@gmx.at>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Cvsup & installworld process question
Message-ID:  <4432BED2.9090400@gmx.at>
In-Reply-To: <51257d370604041131v3a171495v24424fe3cc004f2a@mail.gmail.com>
References:  <51257d370604041131v3a171495v24424fe3cc004f2a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bryan Curl wrote:
> Hopefully this is right place for my question and not to redundant.
> 
> I have a new minimalist installation for use as a file server only (FreeBSD
> 6.0-RELEASE) with a very small set of ports installed. Basically Samba,
> Cvsup,man files, ports, all the source and their dependencies. I am
> primarily interested in keeping the system up to date with security patches,
> system updates, and of course, the ports I run. I want to optimize the
> amount of disk space for the public shares so I don't want to arbitrarily
> install a lot of programs I don't need.
> 
> My question is,
> 1.) If I CVSUP SRC-ALL,  'make buildworld', 'make installworld' etc, will
> that install the entire source tree to my machine and eat up disk space
> unnecessarily? In other words do I need to weed out all but the basic
> components I want before make installworld?
> 2.) What branches of the source tree would I  be required to keep up to date
> for my minimal installation?
> 
> I realized in testing on an older system that portupgrade will only install
> ports I am using but don't know if make installworld will do the same.

Check man make.conf(5)
to set which parts of /usr/src you don't want compiled by buildworld,
see also /usr/share/examples/etc/make.conf
for more explanations.

Check man cvsup(1)
to set which parts of the /usr/src you don't want updated by cvsup,
see also /usr/share/examples/cvsup/refuse.README
for more explanations.

HTH
Lars




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