aboutsummaryrefslogtreecommitdiffstats
path: root/meta-selftest
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-11-03 11:58:33 +0000
committerJoshua Lock <joshua.g.lock@intel.com>2016-11-08 14:37:46 +0000
commit8033a65e8747c2db3e4d467e462e190174db1104 (patch)
tree2346a67ea2a142bd40cc3557fac4928df7691c8b /meta-selftest
parent9caa70164ab245aedd4587e48d0c0277b857cc7e (diff)
downloadopenembedded-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