Dragonfly_Stable and newvers.sh

Erik P. Skaalerud erik at pentadon.com
Wed Oct 27 02:44:38 PDT 2004


Matthew Dillon wrote:

:I just rebuilt to latest Dragonfly_Stable tag, and I got a funny uname 
:output..
:
:[erik at dragon:~]$ uname -sr
:DragonFly 1.1-UNKNOWN
:
:Is it supposed to be like this?
:
:- Erik

   Hmm.  The CVSROOT/config file in the cvs repository (if you are
   pulling down the repository) should have as the last line:
   KeywordExpand=iDragonFly,Name

   (verses just iDragonFly).

   And the tag="\$Name:  $" line in /usr/src/sys/conf/newvers.sh should 
   be expanded out with the tag name, empty if HEAD.  If the tag field
   is "\$Name$" then it hasn't been expanded at all and there is a
   problem.

   If your repository has the correct config line then try removing 
   newvers.sh and cvs update'ing it again.  If your repository does not
   have the correct config line then the question is why doesn't it?  If
   you are pulling down the checked out source with cvsup then maybe
   cvsup is getting confused and not expanding the $Name$.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>
 

Hm.

[root at dragon:/usr/mirror/cvsupd/prefixes/DragonFly.cvs/CVSROOT]$ cat config
# $DragonFly: config,v 1.3 2004/10/22 23:21:00 dillon Exp $
# Set this to "no" if pserver shouldn't check system users/passwords
#SystemAuth=no
# Put CVS lock files in this directory rather than directly in the 
repository.
#LockDir=/var/lock/cvs

# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
# level of the new working directory when using the `cvs checkout'
# command.
#TopLevelAdmin=no
# Set `LogHistory' to `all' or `TOFEWGCMAR' to log all transactions to the
# history file, or a subset as needed (ie `TMAR' logs all write operations)
#LogHistory=TOFEWGCMAR
# Set `RereadLogAfterVerify' to `always' (the default) to allow the 
verifymsg
# script to change the log message.  Set it to `stat' to force CVS to 
verify# that the file has changed before reading it (this can take up to 
an extra
# second per directory being committed, so it is not recommended for large
# repositories.  Set it to `never' (the previous CVS behavior) to prevent
# verifymsg scripts from changing the log message.
#RereadLogAfterVerify=always

# Add the "DragonFly" keyword and restrict keyword expansion
LocalKeyword=DragonFly=CVSHeader
# The cvs guys did not add support for renaming other keywords, silly them!
# So we have to enable Name in order for newvers.sh to be able to pick out
# the tag being built
KeywordExpand=iDragonFly,Name
[root at dragon:/usr/mirror/cvsupd/prefixes/DragonFly.cvs/CVSROOT]$
I cant see any errors.. Can you?

- Erik
begin:vcard
fn;quoted-printable:Erik Paulsen Sk=C3=A5lerud
n;quoted-printable:Sk=C3=A5lerud;Erik Paulsen
org:Alta Research AS
adr;quoted-printable:;;L=C3=B8kkeveien 43;Alta;;9510;Norway
email;internet:erik at xxxxxxxxxxxx
title:Systems Manager
tel;work:(047) 78456400
tel;fax:(047) 78456401
tel;home:(047) 21685323
tel;cell:(047) 48287868
x-mozilla-html:FALSE
url:http://www.altaresearch.no
version:2.1
end:vcard





More information about the Bugs mailing list