]> code.ossystems Code Review - openembedded-core.git/commitdiff
toaster.bbclass: exclude variable dependency on toaster postfunc
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Tue, 3 Jun 2014 15:16:15 +0000 (16:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Jun 2014 15:39:02 +0000 (16:39 +0100)
This patch fixes an issue where the toaster postfuncs were
added to the task signature, making impossible the reuse
of sstate caches from builds outside toaster control.

Now the signatures do not differ between toaster and toaster-less
builds.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toaster.bbclass

index 4244b2ca7f5f652a970d52f4092bbb51ce51bbb4..95499a5cdd22966f75363895be596fbfc63a11e6 100644 (file)
@@ -326,6 +326,8 @@ toaster_collect_task_stats[eventmask] = "bb.event.BuildCompleted bb.build.TaskSu
 addhandler toaster_buildhistory_dump
 toaster_buildhistory_dump[eventmask] = "bb.event.BuildCompleted"
 do_package[postfuncs] += "toaster_package_dumpdata "
+do_package[vardepsexclude] += "toaster_package_dumpdata "
 
 do_rootfs[postfuncs] += "toaster_image_dumpdata "
 do_rootfs[postfuncs] += "toaster_licensemanifest_dump "
+do_rootfs[vardepsexclude] += "toaster_image_dumpdata toaster_licensemanifest_dump"