mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 07:39:49 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6b132acd0a
commit
999834c036
@@ -719,7 +719,11 @@ class ORMWrapper(object):
|
||||
|
||||
def save_build_package_information(self, build_obj, package_info, recipes,
|
||||
built_package):
|
||||
# assert isinstance(build_obj, Build)
|
||||
# assert isinstance(build_obj, Build)
|
||||
|
||||
if not 'PN' in package_info.keys():
|
||||
# no package data to save (e.g. 'OPKGN'="lib64-*"|"lib32-*")
|
||||
return None
|
||||
|
||||
# create and save the object
|
||||
pname = package_info['PKG']
|
||||
|
||||
Reference in New Issue
Block a user