diff options
Diffstat (limited to 'meta/lib/oe/sstatesig.py')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index fad10af539..aa273df970 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -32,6 +32,12 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCaches): | |||
32 | depmc, _, deptaskname, depmcfn = bb.runqueue.split_tid_mcfn(dep) | 32 | depmc, _, deptaskname, depmcfn = bb.runqueue.split_tid_mcfn(dep) |
33 | mc, _ = bb.runqueue.split_mc(fn) | 33 | mc, _ = bb.runqueue.split_mc(fn) |
34 | 34 | ||
35 | # We can skip the rm_work task signature to avoid running the task | ||
36 | # when we remove some tasks from the dependencie chain | ||
37 | # i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work | ||
38 | if task == "do_rm_work": | ||
39 | return False | ||
40 | |||
35 | # Keep all dependencies between SPDX tasks in the signature. SPDX documents | 41 | # Keep all dependencies between SPDX tasks in the signature. SPDX documents |
36 | # are linked together by hashes, which means if a dependent document changes, | 42 | # are linked together by hashes, which means if a dependent document changes, |
37 | # all downstream documents must be re-written (even if they are "safe" | 43 | # all downstream documents must be re-written (even if they are "safe" |