diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2013-03-29 16:10:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-29 16:24:38 +0000 |
commit | 79a2252545ab50c79e00e02c328191c1163f917d (patch) | |
tree | 062a579e40fc7e21a1af49fe415ea6e5709f06ed /scripts | |
parent | 3ed59ee53ee7d87694670a7ba864165146b90a6b (diff) | |
download | openembedded-core-79a2252545ab50c79e00e02c328191c1163f917d.tar.gz openembedded-core-79a2252545ab50c79e00e02c328191c1163f917d.tar.bz2 openembedded-core-79a2252545ab50c79e00e02c328191c1163f917d.zip |
meta/lib/oe/lsb.py: extract only the needed info from lsb-release
Instead of running lsb_release -a, a lsb_release -ir will be run.
This will prevent issue with distros that don't have all the needed
info in /etc/lsb-release file, in which case lsb_release won't generate
an error code.
Partial fix for [YOCTO #4071]
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions