[systemd-devel] [PATCH] Add BUILD_ID to os-release

Douglas, William william.douglas at intel.com
Mon Mar 25 11:14:26 PDT 2013


On Fri, Mar 22, 2013 at 4:00 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Wed, 20.03.13 14:54, William Douglas (william.douglas at intel.com) wrote:
>
>> BUILD_ID is a generic field that can uniquely identify all a
>> distributions default packages in a release or image build
>> when VERSION is used as broader identifier.
>
> Hmm, why wouldn't VERSION_ID= be enough for this purpose? We already
> have VERSION= as "pretty" version string, and VERSION_ID= as low-level
> computer-readable version, why do we need another?
>

VERSION_ID can be seperate from BUILD_ID in that I could have two
different versions with the same BUILD_ID (for example VERSION_ID 1.3
and 2.0 with BUILD_ID being the date + number of build 2013-03-23.5).

Appending a BUILD_ID field could be done in my case (I can just use an
underscore as a token to seperate but I don't think that it is
something that will be simple to tokenize in the general case) I just
thought it may be useful enough to have it be its own field.

> Also, the patch has line breaks in it, can't be merged that way...
>

Hrm there isn't any odd characters that I can see from the mailing
list though I seem to have messed it up copying into my mail client as
git tells me it is malformed, sorry I don't send patches enough X(.


More information about the systemd-devel mailing list