*BSD News Article 94260


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: cvsup and make'ing new system
Date: 23 Apr 1997 15:54:33 GMT
Organization: Awfulhak Ltd.
Lines: 48
Message-ID: <5jlbbp$5r8@ui-gate.utell.co.uk>
References: <01bc4f3a$65d92b80$27366d81@masscomp>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Cc: ehymel@utmb.edu
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39603


In article <01bc4f3a$65d92b80$27366d81@masscomp>,
	"Ernest C. Hymel" <ehymel@utmb.edu> writes:
> Hi all,
> 
> I'm running FreeBSD 2.2-STABLE, and cvsup about 1-2x/wk. My question is:
> what is the best way to update my system after doing this cvsup? I know I
> can run 'make world', but this takes a couple of hours, which is silly for
> only a few changes. Over the last year, I've accumulated this sequence,
> which is what I now use:
> 
>> cvsup cvsup-file
>> cd /usr/src
>> make mk
>> make depend
>> make all
>> make install
> 
> I know all the make lines can be combined into one (make mk depend all
> install). My question though is this still overkill? Am I missing anything?

"make -DNOCLEAN world" would probably be better.  That way, new obj
dirs will be created.  It will take a bit longer though :(

Personally, I just "make all" every night (I sup each night),
"make install" occasionally and if the "make all" fails (it
redirects to a file), I do a "make world".

> This procedure works, but sometimes takes a while.
> 
> Also, what changes should I look for following a cvsup that tells me it's
> time to re-compile my kernel?

Anything in /usr/src/sys or /usr/src/include.

> By the way, I've searched www.freebsd.org in archives, handbook, etc.
> Pointers to information that I've missed would be great.
> 
> Please cc: my email (ehymel@utmb.edu), and I'll post a summary of answers I
> get.

cc'd.

> Thanx--Ernie Hymel

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !