diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/classes/buildhistory.bbclass | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 64df432f13..daa96f3b63 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
| @@ -91,13 +91,19 @@ buildhistory_emit_sysroot() { | |||
| 91 | python buildhistory_emit_pkghistory() { | 91 | python buildhistory_emit_pkghistory() { |
| 92 | if d.getVar('BB_CURRENTTASK') in ['populate_sysroot', 'populate_sysroot_setscene']: | 92 | if d.getVar('BB_CURRENTTASK') in ['populate_sysroot', 'populate_sysroot_setscene']: |
| 93 | bb.build.exec_func("buildhistory_emit_sysroot", d) | 93 | bb.build.exec_func("buildhistory_emit_sysroot", d) |
| 94 | |||
| 95 | if not d.getVar('BB_CURRENTTASK') in ['packagedata', 'packagedata_setscene']: | ||
| 96 | return 0 | 94 | return 0 |
| 97 | 95 | ||
| 98 | if not "package" in (d.getVar('BUILDHISTORY_FEATURES') or "").split(): | 96 | if not "package" in (d.getVar('BUILDHISTORY_FEATURES') or "").split(): |
| 99 | return 0 | 97 | return 0 |
| 100 | 98 | ||
| 99 | if d.getVar('BB_CURRENTTASK') in ['package', 'package_setscene']: | ||
| 100 | # Create files-in-<package-name>.txt files containing a list of files of each recipe's package | ||
| 101 | bb.build.exec_func("buildhistory_list_pkg_files", d) | ||
| 102 | return 0 | ||
| 103 | |||
| 104 | if not d.getVar('BB_CURRENTTASK') in ['packagedata', 'packagedata_setscene']: | ||
| 105 | return 0 | ||
| 106 | |||
| 101 | import re | 107 | import re |
| 102 | import json | 108 | import json |
| 103 | import shlex | 109 | import shlex |
| @@ -319,8 +325,6 @@ python buildhistory_emit_pkghistory() { | |||
| 319 | 325 | ||
| 320 | write_pkghistory(pkginfo, d) | 326 | write_pkghistory(pkginfo, d) |
| 321 | 327 | ||
| 322 | # Create files-in-<package-name>.txt files containing a list of files of each recipe's package | ||
| 323 | bb.build.exec_func("buildhistory_list_pkg_files", d) | ||
| 324 | oe.qa.exit_if_errors(d) | 328 | oe.qa.exit_if_errors(d) |
| 325 | } | 329 | } |
| 326 | 330 | ||
