diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2022-11-11 18:05:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-01 19:35:05 +0000 |
commit | d97e4658e8f928c540aa122b01e9659763c5aaf1 (patch) | |
tree | a53bc39c07db02567e15c691a9ab46065fa2c41d | |
parent | 39f3e183c1eb49c482b8631b2770d6f7dffa0fb3 (diff) | |
download | poky-d97e4658e8f928c540aa122b01e9659763c5aaf1.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: c06df50b0c7e6ecb138f37c51196c57295649437)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/rm_work.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 5f12d5aaeb..c2b569903a 100644 --- a/meta/classes/rm_work.bbclass +++ b/meta/classes/rm_work.bbclass | |||
@@ -106,6 +106,8 @@ do_rm_work () { | |||
106 | fi | 106 | fi |
107 | done | 107 | done |
108 | } | 108 | } |
109 | do_rm_work[vardepsexclude] += "SSTATETASKS" | ||
110 | |||
109 | do_rm_work_all () { | 111 | do_rm_work_all () { |
110 | : | 112 | : |
111 | } | 113 | } |