summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-12-01 15:30:14 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-18 15:05:36 +0000
commit999834c036b8f073de9a55a6eb9361af1fe30101 (patch)
treeba1fb523559808e0c21f6d1ffb76589b6f9f5f8e /bitbake
parent6b132acd0a2241c21974866c572826d7b0a9efc3 (diff)
downloadpoky-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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py6
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']