uname -a output without svn revision number
Dimitry Andric
dim at FreeBSD.org
Fri Jan 4 06:52:46 UTC 2019
On 4 Jan 2019, at 06:52, Matthias Apitz <guru at unixarea.de> wrote:
>
> I've compiled CURRENT from svn and this gave me as 'uname -a' output:
>
> FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT r342378 GENERIC amd64
>
> Now I've had do modify a source file (to nail down some problem) and the
> revision number went away from the output; it now says:
>
> FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC amd64
>
> Why is this? I've read in UPDATING that:
>
> ...
> 20180913:
> Reproducible build mode is now on by default, in preparation for
> FreeBSD 12.0. This eliminates build metadata such as the user,
> host, and time from the kernel (and uname), unless the working tree
> corresponds to a modified checkout from a version control system.
> The previous behavior can be obtained by setting the /etc/src.conf
> knob WITHOUT_REPRODUCIBLE_BUILD.
> ...
>
> But this does not explain why now the SVN revision number went away.
For me, it doesn't go away, but shows an "M" suffix, instead. In
/usr/obj/usr/src/sys/GENERIC/vers.c it shows:
#define VERSTR "FreeBSD 13.0-CURRENT r342593M \n"
What is the output of sh /usr/src/sys/conf/newvers.sh for you?
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20190104/976f0d17/attachment.sig>
More information about the freebsd-current
mailing list