diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-03-16 14:56:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-19 14:37:41 +0000 |
commit | fc4439b3092739b4813055e7d7fc3347ed143777 (patch) | |
tree | 916320189b5b00c79e589c77484c5a1393f1fbab /meta/classes | |
parent | ee8153e114c6136b7880b886c011dca06e3cee2b (diff) | |
download | poky-fc4439b3092739b4813055e7d7fc3347ed143777.tar.gz |
buildhistory: avoid reruns of do_package
Avoid triggering a rerun of all do_package* tasks when OEBasicHash
signature generator is being used and the buildhistory package code or
any of the package related variables change.
Note that adding and removing INHERIT of buildhistory will still force
this rebuild - use the newly added BUILDHISTORY_FEATURES variable to
enable and disable buildhistory instead in order to avoid this.
(From OE-Core rev: 71b41cf7bc81a2767f379f16a408466130ad6523)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/buildhistory.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 3a68d8d6f5..f99aa7f690 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -19,6 +19,11 @@ BUILDHISTORY_PUSH_REPO ?= "" | |||
19 | inherit package | 19 | inherit package |
20 | PACKAGEFUNCS += "buildhistory_emit_pkghistory" | 20 | PACKAGEFUNCS += "buildhistory_emit_pkghistory" |
21 | 21 | ||
22 | # We don't want to force a rerun of do_package for everything | ||
23 | # if the buildhistory_emit_pkghistory function or any of the | ||
24 | # variables it refers to changes | ||
25 | do_package[vardepsexclude] += "buildhistory_emit_pkghistory" | ||
26 | |||
22 | # | 27 | # |
23 | # Called during do_package to write out metadata about this package | 28 | # Called during do_package to write out metadata about this package |
24 | # for comparision when writing future packages | 29 | # for comparision when writing future packages |