`uname -a' can't display revision

KIRIYAMA Kazuhiko kiri at truefc.org
Tue Aug 20 12:15:36 UTC 2019


On Tue, 20 Aug 2019 20:20:30 +0900,
Larry Rosenman wrote:
> 
> On 08/20/2019 6:18 am, 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 ?
> > 
> 
> is your /usr/src an SVN checkout?

Yes. I've svn checkout in bhyve host (vm.tfc):


> root at vm:~ # svnlite info /ds/src/stable/12/r351247
Path: /ds/src/stable/12/r351247
Working Copy Root Path: /ds/src/stable/12/r351247
URL: svn://svn.freebsd.org/base/stable/12
Relative URL: ^/stable/12
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 351247
Node Kind: directory
Schedule: normal
Last Changed Author: jhb
Last Changed Rev: 351246
Last Changed Date: 2019-08-20 10:30:35 +0900 (Tue, 20 Aug 2019)

root at vm:~ # 

And I've rebuild in bhyve VM tbedfs that NFS mount
/ds/src/stable/12/r351247 to /usr/src:

admin at tbedfs:~ % df -h
Filesystem                          Size    Used   Avail Capacity  Mounted on
/dev/vtbd0p2                        7.7G    3.2G    3.9G    45%    /
devfs                               1.0K    1.0K      0B   100%    /dev
vm.tfc:/.dake                        13T    209G     13T     2%    /.dake
vm.tfc:/ds/src/stable/12/r351247     13T    103G     13T     1%    /usr/src
vm.tfc:/ds/obj/stable/12/r351247     13T    332G     13T     2%    /usr/obj
admin at tbedfs:~ % 
---
KIRIYAMA Kazuhiko


More information about the freebsd-stable mailing list