diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-11-03 11:58:33 +0000 |
---|---|---|
committer | Joshua Lock <joshua.g.lock@intel.com> | 2016-11-08 14:37:46 +0000 |
commit | 8033a65e8747c2db3e4d467e462e190174db1104 (patch) | |
tree | 2346a67ea2a142bd40cc3557fac4928df7691c8b /meta-selftest | |
parent | 9caa70164ab245aedd4587e48d0c0277b857cc7e (diff) | |
download | openembedded-core-contrib-8033a65e8747c2db3e4d467e462e190174db1104.tar.gz |
lib/oe/lsb: prefer /etc/os-release for distribution data
os-release(5) is an increasingly standard source of operating system
identification and more likely to be present on modern OS deployments, i.e.
many container variants of common distros include os-release and not the
lsb_release tool.
Therefore we should favour parsing /etc/os-release in distro_identifier(),
try lsb_release when that fails and finally fall back on various distro
specific sources of OS identification.
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Diffstat (limited to 'meta-selftest')
0 files changed, 0 insertions, 0 deletions