summaryrefslogtreecommitdiffstats
path: root/meta/classes/buildhistory.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
-rw-r--r--meta/classes/buildhistory.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 6d04d8cfb9..7d5e3eb8fd 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -90,7 +90,8 @@ buildhistory_emit_sysroot() {
90python buildhistory_emit_pkghistory() { 90python buildhistory_emit_pkghistory() {
91 if d.getVar('BB_CURRENTTASK') in ['populate_sysroot', 'populate_sysroot_setscene']: 91 if d.getVar('BB_CURRENTTASK') in ['populate_sysroot', 'populate_sysroot_setscene']:
92 bb.build.exec_func("buildhistory_emit_sysroot", d) 92 bb.build.exec_func("buildhistory_emit_sysroot", d)
93 elif not d.getVar('BB_CURRENTTASK') in ['packagedata', 'packagedata_setscene']: 93
94 if not d.getVar('BB_CURRENTTASK') in ['packagedata', 'packagedata_setscene']:
94 return 0 95 return 0
95 96
96 if not "package" in (d.getVar('BUILDHISTORY_FEATURES') or "").split(): 97 if not "package" in (d.getVar('BUILDHISTORY_FEATURES') or "").split():
@@ -228,9 +229,8 @@ python buildhistory_emit_pkghistory() {
228 break 229 break
229 except IOError as e: 230 except IOError as e:
230 if e.errno == errno.ENOENT: 231 if e.errno == errno.ENOENT:
231 if not bb.data.inherits_class('native', d): 232 # Probably a -cross recipe, just ignore
232 # Probably a -cross recipe, just ignore 233 return 0
233 return 0
234 else: 234 else:
235 raise 235 raise
236 236