[systemd-devel] Question on os-release

Kay Sievers kay.sievers at vrfy.org
Mon May 30 05:54:54 PDT 2011


On Mon, May 30, 2011 at 10:20, Andreas Jaeger <aj at novell.com> wrote:
>
> Looking at the os-release information, I wonder how to encode in the best way
> the Beta or Milestone versions of a product, e.g. "openSUSE 12.1 Milestone 1"
>
> Is this one added as part of version? e.g.:
> VERSION="12.1 Milestone 1 (Codename)"
> VERSION_ID="12.1 milestone 1"
>
> Or is there some other logic intented to for these?

VERSION looks fine.

VERSION_ID -- usually plain version numbers have no spaces like
3.4beta7, or 3.4-rc3 to make it easy to use it in scripts or create
simple-to-handle filenames from it -- but I guess it should all work.

Kay


More information about the systemd-devel mailing list