Re: freebsd-version(1) enchancement

From: Kimmo Paasiala <kpaasial_at_gmail.com>
Date: Tue, 12 Nov 2013 13:49:07 +0200
On Tue, Nov 12, 2013 at 11:56 AM, Dag-Erling Smørgrav <des_at_des.no> wrote:
> Kimmo Paasiala <kpaasial_at_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ørgrav - des_at_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
Received on Tue Nov 12 2013 - 10:49:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC