]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
rm_work: exclude the SSTATETASKS from the rm_work tasks sinature
authorJose Quaresma <quaresma.jose@gmail.com>
Fri, 11 Nov 2022 18:05:46 +0000 (18:05 +0000)
committerSteve Sakoman <steve@sakoman.com>
Fri, 25 Nov 2022 16:16:14 +0000 (06:16 -1000)
We can exclude the SSTATETASKS from the rm_work task signature
to avoid running the task when we remove some setscene tasks
from the dependencie chain.

The inject_rm_work handler on the rm_work bbclass triggers the
rm_work task running for any signature change in the dependencie
chain of the task do_build of each recipe.

i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work
when we collect the sstate cache with INHERIT = "create-spdx"

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 77729bea5b17d65dafb604fd1665c612091b28c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/rm_work.bbclass

index c493efff2fcac7edb04448a88151600d61f0ab9d..4121a1327911a9c905dd973fbec81f86b7785208 100644 (file)
@@ -112,6 +112,8 @@ do_rm_work () {
         fi
     done
 }
+do_rm_work[vardepsexclude] += "SSTATETASKS"
+
 do_rm_work_all () {
     :
 }