summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-11-15 22:08:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-23 11:10:14 +0000
commit333d300fba023bfd201f044b52f51d4b13fcd182 (patch)
treed11440bfe4a8fd66a01afd913599adf9357cf280 /meta/recipes-connectivity
parent4bc5353c929cb1a5f33a24c5471a5bde1929a043 (diff)
downloadpoky-333d300fba023bfd201f044b52f51d4b13fcd182.tar.gz
lib/oe/lsb: better handle missing fields
Some rolling release distros, such as Arch Linux, don't include a VERSION_ID field in their os-release file. Change release_dict_osr() to better handle this optional field being absent. Further improve the resilience of the release_dict_*() methods by always returning a dict and using dict.get() in distro_identifier() to supply a default, empty string, value when then key is missing. (From OE-Core rev: e36066dcc3b56cac1c695370ea178b566c0ebfd6) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
0 files changed, 0 insertions, 0 deletions