]> code.ossystems Code Review - openembedded-core.git/commitdiff
staging: Mark deploy an sstate task
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Sep 2021 07:28:42 +0000 (08:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Sep 2021 12:49:07 +0000 (13:49 +0100)
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>
meta/classes/staging.bbclass

index af3397bab6fbb8f91f686a310331e79b1dcaa58e..65a6cd5120ba69ead4b95161c1c4e595f7b731b6 100644 (file)
@@ -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 = ""