看板 DFBSD_bugs 關於我們 聯絡資訊
This is a multi-part message in MIME format. --------------050303070508020503080901 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Matthew Dillon wrote: >:I just rebuilt to latest Dragonfly_Stable tag, and I got a funny uname >:output.. >: >:[erik@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@backplane.com> > > Hm. [root@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@dragon:/usr/mirror/cvsupd/prefixes/DragonFly.cvs/CVSROOT]$ I cant see any errors.. Can you? - Erik --------------050303070508020503080901 Content-Type: text/x-vcard; charset=utf-8; name="erik.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="erik.vcf" 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@pentadon.com 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 --------------050303070508020503080901--