mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 13:36:22 +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: 567f072ff260614cde3da220a40a95d5a8b9ab92) 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
4422d91120
commit
dac484bee1
@@ -721,6 +721,10 @@ class ORMWrapper(object):
|
||||
built_package):
|
||||
# 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']
|
||||
built_recipe = recipes[package_info['PN']]
|
||||
|
||||
Reference in New Issue
Block a user