diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-06-28 17:09:46 +0100 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-07-02 07:58:08 -0700 |
commit | bff50b747cde04007ead65dde4207b16a8e1bf08 (patch) | |
tree | dfb4390e21b5ca1fb70bf5f619cb5ea84d3e02da /meta/recipes-kernel/linux-firmware | |
parent | 458e76e470966d759067b2f6e6f00fa75a2963f3 (diff) | |
download | openembedded-core-contrib-bff50b747cde04007ead65dde4207b16a8e1bf08.tar.gz |
lib/oe/lsb.py: fall back to /etc/os-release for host distro ID
The new standard for host distribution identification [1] is
/etc/os-release, and a number of newer distributions provide this file,
so add support for this in order to pick up more distributions.
Additionally, handle "rolling release" style distributions that don't
report a version number, e.g. Arch Linux.
With this change we can identify the most common distributions, so this
should satisfy [YOCTO #4271]. Note that this doesn't imply support for
these distros as build hosts, just that we can identify them.
[1] http://www.freedesktop.org/software/systemd/man/os-release.html
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux-firmware')
0 files changed, 0 insertions, 0 deletions