uname -a output without svn revision number
Gary Jennejohn
gljennjohn at gmail.com
Fri Jan 4 14:33:54 UTC 2019
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
More information about the freebsd-current
mailing list