Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 1999 00:06:22 -0600
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        charon@freethought.org
Cc:        stable@freebsd.org
Subject:   Re: replacing sources with ctm
Message-ID:  <36E60BDE.89723F1B@math.missouri.edu>
References:  <3.0.5.32.19990309211055.00943c30@mail>

next in thread | previous in thread | raw e-mail | index | archive | help
I couldn't figure out the handbook either.  Let me describe what I did.

First, clean out /usr/src .

Then get the CTM files.  Now, the first file has to be one that starts
from scratch, that is, either a file like src-2.2-2600xEmpty.gz
or the file src-3.0001.gz.  I used the latter.

So get your ctm files, say, src-3.0001.gz to src-3.0021.gz.  Let's
say they are in ~mine/ctm .  So you do
cd /usr/src
ctm ~mine/ctm/src*

This will populate /usr/src completely up to whatever src-3.0021.gz
has.  Now you can do a make world, etc.  As the new src-*.gz files
come in, you can do the ctm commands again, and it will only process
the new ctm files (and give you error messages if you skipped some).

Once you get used to it, ctm is a really nice way to go.  It does the
ports nicely, too.  The important thing, again, is to start with a
totally clean /usr/ports directory (say mv /usr/ports /usr/ports-old ; 
mkdir /usr/ports ).

I hope this helps.

-- 

Stephen Montgomery-Smith              stephen@math.missouri.edu
307 Math Science Building             stephen@showme.missouri.edu
Department of Mathematics             stephen@missouri.edu
University of Missouri-Columbia
Columbia, MO 65211
USA

Phone (573) 882 4540
Fax   (573) 882 1869

http://math.missouri.edu/~stephen


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




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