Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Sep 1999 21:47:07 -1000
From:      "Art Neilson, KH7PZ" <art@hawaii.rr.com>
To:        freebsd-stable@freebsd.org
Subject:   cvsup
Message-ID:  <3.0.6.32.19990902214707.007db100@clients1.hawaii.rr.com>

next in thread | raw e-mail | index | archive | help
I'm running FreeBSD 3.2-RELEASE and want to track RELENG_3.
I installed all of the sources when I installed the release.
I set up a supfile

*default host=cvsup2.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_3
*default delete use-rel-suffix
*default compress

src-all
src-crypto
src-secure

and it just fine with the command

cvsup -g -L 2 supfile

Now, looking at page 379 in "The Complete FreeBSD" 3rd Edition,
there is a script underneath "Putting it all together".  I took a
portion of that script and made my own script.

#!/bin/sh
echo ====== `date`: Updating /usr/src
echo cd /usr/src
cd /usr/src
cvs update -P -d
echo ====== `date`: Rebuilding TAGS
cd /usr/src/sys
rm -f TAGS
find . -follow -name "*.[csh]" | xargs etags -a
echo ====== `date`: Rebuilding STABLE
echo cd /usr/src
cd /usr/src
make world

When I run this script, the cvs update bombs with messages about
no CVSROOT environment variable set.  I tried setting CVSROOT=/usr
however that did not work it said /usr/CVSROOT wasn't a repository.

Am I supposed to build a repository first, I thought when I installed
FreeBSD 3.2-RELEASE with all sources that was the repository.  Do I need
to build a repository or can I just 'make world' and skip the repository
step since I am updating /usr/src directly and don't have a 'separate' 
tree???  The manual does not seem to make this distinction?

I am confused, can someone elighten me please???


--
   __
  /  )    _/_  It is a capital mistake to theorise before one has data.
 /--/ __  /    Insensibly one begins to twist facts to suit theories,
/  (_/ (_<__   Instead of theories to suit facts.
                     -- Sherlock Holmes, "A Scandal in Bohemia"
Arthur W. Neilson III, KH7PZ
Bank of Hawaii Tech Support
art@hawaii.rr.com



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?3.0.6.32.19990902214707.007db100>