In fact we have finally moved our Makefiles to using /etc/os-release,
We use VERSION_ID now instead of the defunct VERSION (commenting it
out makes it effectively defunct as it won't be defined when
/etc/os-release is used via an include or some similar mechanism).
What we have done in the relevant Makefile definition file is:
include /etc/os-release
ifeq ($(PRETTY_NAME),"openSUSE Tumbleweed")
VERSION_ID = Tumbleweed
endif
Tumbleweed is a special case for us. We don't use it in production.
But we use it to build on test systems. So we are happy to lump all
Tumbleweed into one category. Even if that is not an accurate thing to
do. It works in our context.
We'll see how long that works...
On Wed, Sep 28, 2016 at 11:36 AM, Andrei Borzenkov
On Wed, Sep 28, 2016 at 12:14 PM, Roger Oberholtzer
wrote: What we are trying to do is obtain things like 12.3, 13.1, 42.1, Tumbleweed. We build for multiple platforms with the results placed as based on the openSUSE release.
Empty VERSION == Tumbleweed? :)
-- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org