Re: uname -a output without svn revision number

From: Gary Jennejohn <gljennjohn_at_gmail.com>
Date: Fri, 4 Jan 2019 15:33:50 +0100
On Fri, 4 Jan 2019 15:24:42 +0100
Gary Jennejohn <gljennjohn_at_gmail.com> wrote:

> On Fri, 04 Jan 2019 14:41:43 +0100
> "Julian H. Stacey" <jhs_at_berklix.com> wrote:
> 
> > Matthias Apitz wrote:  
> > > $ sh /usr/src/sys/conf/newvers.sh    
> > 
> > Me too. Mine also returns nothing. Ditto uname. Ditto dmesg.  Annoying.
> > 
> > /usr/src/.svn_revision 342578 probably what I used to install / from,
> > but how to tell now its been excised ?
> > 
> > Good you reported it. (I'd assumed it was local breakage waiting my time to
> > trace & fix).  Yet another annoying half baked commit, wasting time.
> >   
> 
> Strange.  I just made a HEAD kernel from an up-to-date /usr/src and
> vers.c shows:
> 
> #define VERSTR "FreeBSD 13.0-CURRENT #1 r342759M: Fri Jan  4 15:17:07
> CET 2019\n    garyj_at_ernst.home:/usr/obj/usr/src/amd64.amd64/sys/ernst\n"
> 
> The 'M' appears because I use a modified /sys/conf/files to prevent
> including the for me useless iflib stuff.
> 

Run ``sh -x /usr/src/sys/conf/newvers.sh'' and you'll see the
correct output.

-- 
Gary Jennejohn
Received on Fri Jan 04 2019 - 13:33:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC