Comment 2 for bug 1481086

Revision history for this message
Oliver Grawert (ogra) wrote :

when we discussed it yesterday on IRC the focus was more on /etc/os-release than on lsb_release. according to http://www.freedesktop.org/software/systemd/man/os-release.html the Variant field is described as:

VARIANT=

A string identifying a specific variant or edition of the operating system suitable for presentation to the user. This field may be used to inform the user that the configuration of this system is subject to a specific divergent set of rules or default configuration settings. This field is optional and may not be implemented on all systems. Examples: "VARIANT="Server Edition"", "VARIANT="Smart Refrigerator Edition"" Note: this field is for display purposes only. The VARIANT_ID field should be used for making programmatic decisions.

...the spec also defines a VARIANT_ID which could be "core" or "personal":

VARIANT_ID=

    A lower-case string (no spaces or other characters outside of 0-9, a-z, ".", "_" and "-"), identifying a specific variant or edition of the operating system. This may be interpreted by other packages in order to determine a divergent default configuration. This field is optional and may not be implemented on all systems. Examples: "VARIANT_ID=server", "VARIANT_ID=embedded"

i assume all this is inherited from lsb options, so we should be good there too.