freebsd-version(1) enchancement

Kimmo Paasiala kpaasial at gmail.com
Tue Nov 12 11:49:08 UTC 2013


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


More information about the freebsd-current mailing list