Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 May 2016 06:45:47 +0200
From:      "Herbert J. Skuhra" <herbert@mailbox.org>
To:        Jim Ohlstein <jim@ohlste.in>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Wrong FreeBSD version in uname
Message-ID:  <86inynkfes.wl-herbert@mailbox.org>
In-Reply-To: <121B3FEC-BC6C-4139-9D0A-D7609055CD2E@ohlste.in>
References:  <572F2EE2.8070504@ohlste.in> <86h9e8obyf.wl-herbert@mailbox.org> <121B3FEC-BC6C-4139-9D0A-D7609055CD2E@ohlste.in>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Ohlstein skrev:
> 
> Hello,
>> On May 8, 2016, at 10:34 AM, Herbert J. Skuhra <herbert@mailbox.org> wrote:
>> 
>> Jim Ohlstein skrev:
>>> 
>>> Hello,
>>> I'm a bit confused.
>>> 
>>> I created a VM using 10.3 (amd64) install iso without installing
>>> sources. I then downloaded sources as follows:
>>> 
>>> root@c2:/usr/src # svn co https://svn.freebsd.org/base/stable/10 .
>>> 
>>> I then created a custom kernel file and rebuilt and installed world
>>> and kernel.
>>> 
>>> I am currently seeing:
>>> 
>>> # uname -v
>>> FreeBSD 10.3-RELEASE-p2 #1 r299234M: Sun May  8 07:46:33 EDT 2016
>>> root@my.host.com:/usr/obj/usr/src/sys/MYKERNEL
>>> 
>>> I would expect to see:
>>> 
>>> FreeBSD 10.3-STABLE #0 r299234: Sun May 8 07:46:33 EDT 2016
>>> root@my.host.com:/usr/obj/usr/src/sys/MYKERNEL
>>> 
>>> I am absolutely certain that I downloaded "STABLE". Am I having a
>>> senior moment, or is this behavior not as expected?
>> 
>> Can you show output of:
>> 
>> % cd /usr/src
>> % svnlite info
> 
> Path: .
> Working Copy Root Path: /usr/src
> URL: https://svn.freebsd.org/base/stable/10
> Relative URL: ^/stable/10
> Repository Root: https://svn.freebsd.org/base
> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> Revision: 299234
> Node Kind: directory
> Schedule: normal
> Last Changed Author: kib
> Last Changed Rev: 299232
> Last Changed Date: 2016-05-08 05:08:05 -0400 (Sun, 08 May 2016)
> 
>> % svnlite diff --summarize
> 
> M       sys/conf/newvers.sh

Obviously the BRANCH line was modified. 'svnlite diff
sys/conf/newvers.sh' will tell you. Simply run 'svnlite revert
sys/conf/newvers.sh' and rebuild.

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86inynkfes.wl-herbert>