generic-poky/meta/lib/oe
Joshua Lock 333d300fba 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>
2016-11-23 11:10:14 +00:00
..
tests lib/oe/qa: add ELF machine to string function 2016-10-11 22:19:21 +01:00
__init__.py lib/oe: turn oe into a namespace package 2014-03-17 14:01:41 +00:00
buildhistory_analysis.py buildhistory-diff: reduce PKGR noise 2016-07-21 07:47:52 +01:00
cachedpath.py cachedpath.py: global name 'error' is not defined 2013-05-15 19:27:11 +03:00
classextend.py lib/classextend: Fix determinism issue 2016-05-11 10:33:42 +01:00
classutils.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
copy_buildsystem.py oe/copy_buildsystem.py: dereference symlink 2016-11-06 23:35:32 +00:00
data.py classes/lib: Update to match python3 iter requirements 2016-06-02 08:24:00 +01:00
distro_check.py distro_check: MeeGo is long dead, compare against Clear Linux instead 2016-11-15 15:19:53 +00:00
gpg_sign.py lib/oe/gpg_sign: fix output in error paths 2016-07-26 08:56:29 +01:00
license.py license: simple verification of LICENSE_<pkg> values 2016-08-25 22:54:49 +01:00
lsb.py lib/oe/lsb: better handle missing fields 2016-11-23 11:10:14 +00:00
maketype.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
manifest.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
package.py oe/lib/package: handle shlibs files disappearing 2016-07-20 10:28:47 +01:00
package_manager.py lib/oe/package_manager: .deb pre/postinst args 2016-11-23 11:10:11 +00:00
packagedata.py classes/lib: Update to explictly create lists where needed 2016-06-02 08:24:00 +01:00
packagegroup.py classes/lib: Update to explictly create lists where needed 2016-06-02 08:24:00 +01:00
patch.py lib/oe/patch: fix handling of patches with no header 2016-11-23 11:10:12 +00:00
path.py lib/oe/path: remove duplicate import 2016-11-15 15:19:53 +00:00
prservice.py classes/lib: Update to explictly create lists where needed 2016-06-02 08:24:00 +01:00
qa.py lib/oe/qa: handle binaries with segments outside the first 4kb 2016-11-15 15:19:53 +00:00
recipeutils.py lib/oe/recipeutils: ignore archives by default in get_recipe_local_files() 2016-11-23 11:10:13 +00:00
rootfs.py image: Deploy images to IMGDEPLOYDIR 2016-09-04 00:07:28 +01:00
sdk.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
sstatesig.py lib/oe/sstatesig: print locked sigs file message only when explicitly called 2016-07-08 09:57:23 +01:00
terminal.py devshell: list commands when throwing NoSupportedTerminals 2016-11-23 11:10:13 +00:00
types.py classes/lib: Complete transition to python3 2016-06-02 08:24:01 +01:00
utils.py meta: cleanup d.getVar(var, 1) 2016-09-14 22:22:07 +01:00