diff options
author | David Reyna <David.Reyna@windriver.com> | 2017-12-01 15:30:14 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-18 15:05:36 +0000 |
commit | 999834c036b8f073de9a55a6eb9361af1fe30101 (patch) | |
tree | ba1fb523559808e0c21f6d1ffb76589b6f9f5f8e | |
parent | 6b132acd0a2241c21974866c572826d7b0a9efc3 (diff) | |
download | poky-999834c036b8f073de9a55a6eb9361af1fe30101.tar.gz |
bitbake: toaster: some recipe events do not include packages
Allow for "SinglePackageInfo" events that do not include package data,
for example OPKGN equal 'lib32-*' or 'lib64-*'.
[YOCTO #12204]
(Bitbake rev: 0c7aee74003dbd29da7e5e35cab466c8f858cad3)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index e451c630d4..524a5b0942 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -719,7 +719,11 @@ class ORMWrapper(object): | |||
719 | 719 | ||
720 | def save_build_package_information(self, build_obj, package_info, recipes, | 720 | def save_build_package_information(self, build_obj, package_info, recipes, |
721 | built_package): | 721 | built_package): |
722 | # assert isinstance(build_obj, Build) | 722 | # assert isinstance(build_obj, Build) |
723 | |||
724 | if not 'PN' in package_info.keys(): | ||
725 | # no package data to save (e.g. 'OPKGN'="lib64-*"|"lib32-*") | ||
726 | return None | ||
723 | 727 | ||
724 | # create and save the object | 728 | # create and save the object |
725 | pname = package_info['PKG'] | 729 | pname = package_info['PKG'] |