Date: Fri, 4 Jan 2019 07:52:40 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Matthias Apitz <guru@unixarea.de> Cc: FreeBSD Current <freebsd-current@freebsd.org>, Ed Maste <emaste@freebsd.org> Subject: Re: uname -a output without svn revision number Message-ID: <49D022CD-CBC4-47A9-91F7-27C48A707338@FreeBSD.org> In-Reply-To: <20190104055218.GA3408@c720-r342378> References: <20190104055218.GA3408@c720-r342378>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 4 Jan 2019, at 06:52, Matthias Apitz <guru@unixarea.de> wrote: >=20 > I've compiled CURRENT from svn and this gave me as 'uname -a' output: >=20 > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT r342378 GENERIC = amd64 >=20 > 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: >=20 > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC amd64 >=20 > Why is this? I've read in UPDATING that: >=20 > ... > 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. > ... >=20 > 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 --Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXC8CuAAKCRCwXqMKLiCW o3DWAKDZTR6gfMGC1gGApg6UGzNitGjlSACg9Q00VRYxzD6QUfKDyW+q3cuI8sQ= =k1jV -----END PGP SIGNATURE----- --Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D022CD-CBC4-47A9-91F7-27C48A707338>