diff options
| -rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 37a3fcb9c7..9cb2c54067 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
| @@ -1231,8 +1231,8 @@ class BuildInfoHelper(object): | |||
| 1231 | for target in self.internal_state['targets']: | 1231 | for target in self.internal_state['targets']: |
| 1232 | if target.is_image: | 1232 | if target.is_image: |
| 1233 | pkgdata = BuildInfoHelper._get_data_from_event(event)['pkgdata'] | 1233 | pkgdata = BuildInfoHelper._get_data_from_event(event)['pkgdata'] |
| 1234 | imgdata = BuildInfoHelper._get_data_from_event(event)['imgdata'][target.target] | 1234 | imgdata = BuildInfoHelper._get_data_from_event(event)['imgdata'].get(target.target, {}) |
| 1235 | filedata = BuildInfoHelper._get_data_from_event(event)['filedata'][target.target] | 1235 | filedata = BuildInfoHelper._get_data_from_event(event)['filedata'].get(target.target, {}) |
| 1236 | 1236 | ||
| 1237 | try: | 1237 | try: |
| 1238 | self.orm_wrapper.save_target_package_information(self.internal_state['build'], target, imgdata, pkgdata, self.internal_state['recipes'], built_package=True) | 1238 | self.orm_wrapper.save_target_package_information(self.internal_state['build'], target, imgdata, pkgdata, self.internal_state['recipes'], built_package=True) |
