]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib/oe/lsb: enable getting distro ID when lsb_release is not installed
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 12 Mar 2013 03:39:56 +0000 (03:39 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Mar 2013 16:37:09 +0000 (16:37 +0000)
commit062a5f6c69f9be2057920f9cbf5ab8cc1511589b
treea9e82956018b2dfb1ae324dc6c817ae8eaf9bff6
parent4da406cd50cf02a63ed76810a670aba1eb561c79
lib/oe/lsb: enable getting distro ID when lsb_release is not installed

If lsb_release is not installed (as it may not be on headless/minimal
installations on distros whose LSB package has a long list of
dependencies) we need to gather the information directly from files in
/etc.

Fixes [YOCTO #4012].

(From OE-Core rev: 106a7bcdb5ad9956f1d78f508408bfbcf7ff5120)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/lsb.py