Wrong FreeBSD version in uname
Herbert J. Skuhra
herbert at mailbox.org
Mon May 9 04:45:54 UTC 2016
Jim Ohlstein skrev:
>
> Hello,
>> On May 8, 2016, at 10:34 AM, Herbert J. Skuhra <herbert at 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 at 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 at 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 at 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
More information about the freebsd-stable
mailing list