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

Lennart Poettering lennart at poettering.net
Fri Mar 22 16:00:25 PDT 2013


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?

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

> 
> Signed-off-by: William Douglas <william.douglas at intel.com>
> ---
>  man/os-release.xml | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/man/os-release.xml b/man/os-release.xml
> index 98320ef..e6f31f7 100644
> --- a/man/os-release.xml
> +++ b/man/os-release.xml
> @@ -298,6 +298,17 @@
>                                  <literal>BUG_REPORT_URL="https://bugzilla.redhat.com/"</literal></para></listitem>
>                          </varlistentry>
>  
> +                        <varlistentry>
> +
> <term><varname>BUILD_ID=</varname></term>
> +
> +                                <listitem><para>A string uniquely
> +                                identifying the packages installed by
> +                                default from a distribution. This field
> +                                is optional. Example:
> +
> <literal>BUILD_ID="2013-03-20.3"</literal>
> +                                or
> <literal>BUILD_ID=201303203</literal>.
> +                                </para></listitem>
> +                        </varlistentry>
>  
>                  </variablelist>
>  


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list