Date: Tue, 12 Nov 2013 13:49:07 +0200 From: Kimmo Paasiala <kpaasial@gmail.com> To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@des.no> Cc: FreeBSD current <freebsd-current@freebsd.org> Subject: Re: freebsd-version(1) enchancement Message-ID: <CA%2B7WWSfMi6iZGhsXbM3%2BMEZCsv58qDc1sV=WG%2BtPY5eEVqMjsg@mail.gmail.com> In-Reply-To: <861u2mj64r.fsf@nine.des.no> References: <CA%2B7WWSeoYpJra8MD=gaCgPnLvLOFhbQ%2BzjRDaJOi1q6sfdPT9g@mail.gmail.com> <861u2mj64r.fsf@nine.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 12, 2013 at 11:56 AM, Dag-Erling Sm=C3=B8rgrav <des@des.no> wro= te: > Kimmo Paasiala <kpaasial@gmail.com> writes: >> Would it make sense to also include the svnversion(1) of the system >> sources in the version output? > > No. It is not available in the most important use case for > freebsd-version(1), i.e. freebsd-update builds. > > DES > -- > Dag-Erling Sm=C3=B8rgrav - des@des.no I didn't express myself well enough I guess. What I'm after is inclusion of the svnversion(1) information to a binary that gets always built and installed as part of 'make buildworld/installworld' regardless of src.conf(5) settings so that it would be possible to identify the SVN version where the currently installed world comes from. Now that I think loader(8) is not a good candidate for that because of WITHOUT_BOOT. I was hoping that freebsd-version would be such binary but since it's only a shell script that extracts the information from various binaries it won't work unless those other binaries have that information included in them. -Kimmo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSfMi6iZGhsXbM3%2BMEZCsv58qDc1sV=WG%2BtPY5eEVqMjsg>