summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/archiver.bbclass5
-rw-r--r--meta/lib/oe/sstatesig.py6
2 files changed, 9 insertions, 2 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 0938c992de..05a7996676 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -442,7 +442,10 @@ do_deploy_all_archives() {
442} 442}
443 443
444python () { 444python () {
445 # Add tasks in the correct order, specifically for linux-yocto to avoid race condition 445 # Add tasks in the correct order, specifically for linux-yocto to avoid race condition.
446 # sstatesig.py:sstate_rundepfilter has special support that excludes this dependency
447 # so that do_kernel_configme does not need to run again when do_unpack_and_patch
448 # gets added or removed (by adding or removing archiver.bbclass).
446 if bb.data.inherits_class('kernel-yocto', d): 449 if bb.data.inherits_class('kernel-yocto', d):
447 bb.build.addtask('do_kernel_configme', 'do_configure', 'do_unpack_and_patch', d) 450 bb.build.addtask('do_kernel_configme', 'do_configure', 'do_unpack_and_patch', d)
448} 451}
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index f087a019e1..b8dd4c869e 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -20,8 +20,12 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
20 def isImage(fn): 20 def isImage(fn):
21 return "/image.bbclass" in " ".join(dataCache.inherits[fn]) 21 return "/image.bbclass" in " ".join(dataCache.inherits[fn])
22 22
23 # Always include our own inter-task dependencies 23 # (Almost) always include our own inter-task dependencies.
24 # The exception is the special do_kernel_configme->do_unpack_and_patch
25 # dependency from archiver.bbclass.
24 if recipename == depname: 26 if recipename == depname:
27 if task == "do_kernel_configme" and dep.endswith(".do_unpack_and_patch"):
28 return False
25 return True 29 return True
26 30
27 # Quilt (patch application) changing isn't likely to affect anything 31 # Quilt (patch application) changing isn't likely to affect anything