`uname -a' can't display revision
Trond Endrestøl
trond.endrestol at ximalas.info
Tue Aug 20 11:58:34 UTC 2019
On Tue, 20 Aug 2019 20:18+0900, KIRIYAMA Kazuhiko wrote:
> On Tue, 20 Aug 2019 13:47:55 +0900,
> Trond Endrestøl wrote:
> >
> > On Tue, 20 Aug 2019 11:00+0900, KIRIYAMA Kazuhiko wrote:
> >
> > > I've rebuild up to r351108 but `uname -a' can't display it's
> > > revision number.
> >
> > Add this to /etc/src.conf:
> >
> > WITHOUT_REPRODUCIBLE_BUILD=yes
>
> Add above and rebuild with r351247, then
>
> admin at tbedfs:~ % uname -a
> FreeBSD tbedfs 12.0-STABLE FreeBSD 12.0-STABLE #0: Tue Aug 20 19:10:53 JST 2019 root at tbedfs:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
> admin at tbedfs:~ %
>
> Only revision number ommitted. Why ?
Hum. That's strange. Do you have dot-directories belonging to Git or
some other VCS in the root of your source tree? I'm guessing this
might confuse the script generating the kernel identification.
As a counter, this is from a recently updated VM running 13.0-CURRENT:
# uname -a
FreeBSD freebsd-head-zfs.FQDN 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r351209: Mon Aug 19 11:50:33 CEST 2019 root at freebsd-head-zfs.FQDN:/usr/obj/usr/src/amd64.amd64/sys/XENGUEST amd64
--
Trond.
More information about the freebsd-stable
mailing list