diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-11-08 14:49:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-15 15:18:50 +0000 |
commit | fc4eddecddec68d03a985086fa32db40ad0c7bfc (patch) | |
tree | 6f0b557346c0acc8b7e35fc3e88f00668f1d1f9b /scripts/lib/wic | |
parent | 2ddd6ddaf0c5ba14ae83347eba877ac9ef179c76 (diff) | |
download | openembedded-core-fc4eddecddec68d03a985086fa32db40ad0c7bfc.tar.gz openembedded-core-fc4eddecddec68d03a985086fa32db40ad0c7bfc.tar.bz2 openembedded-core-fc4eddecddec68d03a985086fa32db40ad0c7bfc.zip |
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>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic')
0 files changed, 0 insertions, 0 deletions