diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-06-28 17:09:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-02 22:23:48 +0100 |
commit | 785b49e5c2ecb88a0f6de51732582253ba6b0c98 (patch) | |
tree | c77e3a23b543e6f713fa3fe20ca640c1978e4d81 /meta/recipes-kernel/linux-firmware | |
parent | 2ed1c03b2459054f0145a77e065b0304bc5da9cb (diff) | |
download | poky-785b49e5c2ecb88a0f6de51732582253ba6b0c98.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
(From OE-Core rev: bff50b747cde04007ead65dde4207b16a8e1bf08)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-firmware')
0 files changed, 0 insertions, 0 deletions