summaryrefslogtreecommitdiffstats
path: root/meta/classes/rm_work.bbclass
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2022-11-11 18:05:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-14 16:19:43 +0000
commit0f9773ee717d54ce1ed5001bc5ef4ec470f13476 (patch)
treea87e187c617fead36f8c9b4470c726add6f120a0 /meta/classes/rm_work.bbclass
parent6cd9a85d2b9f6272c0b0e9d68c6dbd5e8c0c336b (diff)
downloadpoky-0f9773ee717d54ce1ed5001bc5ef4ec470f13476.tar.gz
rm_work: exclude the SSTATETASKS from the rm_work tasks sinature
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" (From OE-Core rev: 77729bea5b17d65dafb604fd1665c612091b28c7) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rm_work.bbclass')
-rw-r--r--meta/classes/rm_work.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index c493efff2f..4121a13279 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -112,6 +112,8 @@ do_rm_work () {
112 fi 112 fi
113 done 113 done
114} 114}
115do_rm_work[vardepsexclude] += "SSTATETASKS"
116
115do_rm_work_all () { 117do_rm_work_all () {
116 : 118 :
117} 119}