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 13:31:33 +0000 |
commit | 71b41cf7bc81a2767f379f16a408466130ad6523 (patch) | |
tree | a2daa2e0d2e98360e05be541ee3bcc67dc54445b /meta | |
parent | dd6a521045d5538a8ebf6775899d5e1319bea427 (diff) | |
download | openembedded-core-71b41cf7bc81a2767f379f16a408466130ad6523.tar.gz openembedded-core-71b41cf7bc81a2767f379f16a408466130ad6523.tar.bz2 openembedded-core-71b41cf7bc81a2767f379f16a408466130ad6523.tar.xz openembedded-core-71b41cf7bc81a2767f379f16a408466130ad6523.zip |
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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta')
-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 3a68d8d6f..f99aa7f69 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass @@ -19,6 +19,11 @@ BUILDHISTORY_PUSH_REPO ?= "" inherit package PACKAGEFUNCS += "buildhistory_emit_pkghistory" +# We don't want to force a rerun of do_package for everything +# if the buildhistory_emit_pkghistory function or any of the +# variables it refers to changes +do_package[vardepsexclude] += "buildhistory_emit_pkghistory" + # # Called during do_package to write out metadata about this package # for comparision when writing future packages |