summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-20 08:28:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-23 13:49:07 +0100
commit1fdbe550323b98ca67ed7130f5a0d7d626bd2c64 (patch)
treeba8eac6c40e1f9aba810b21011ef2c124051d4fd
parent6e2cbfc561dac89bf9183d24d90e52f7d9117826 (diff)
downloadopenembedded-core-contrib-1fdbe550323b98ca67ed7130f5a0d7d626bd2c64.tar.gz
staging: Mark deploy an sstate task
Deploy is a tricky task as it isn't in SSTATETASKS as it isn't always present. We do need to ensure dependency chains around do_deploy tasks are correctly handled as sstate tasks though. For now add to the list of sstate tasks manually (like the other locale task reference). Without this, missing manifest files could be reported now that do_deploy tasks no longer have their dependencies added by the depvalid function. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/staging.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index af3397bab6..65a6cd5120 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -306,6 +306,7 @@ python extend_recipe_sysroot() {
sstatetasks = d.getVar("SSTATETASKS").split()
# Add recipe specific tasks referenced by setscene_depvalid()
sstatetasks.append("do_stash_locale")
+ sstatetasks.append("do_deploy")
def print_dep_tree(deptree):
data = ""