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)
commitc2432bbc97bf0fdb74080278072fb229312448a9
treef46d548c21eca09f07ce7fc9d2c704c762f0c9dd
parentbb69741117c9c6f78845784630634c5a591f12dd
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