From 1fdbe550323b98ca67ed7130f5a0d7d626bd2c64 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 20 Sep 2021 08:28:42 +0100 Subject: [PATCH] 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 --- meta/classes/staging.bbclass | 1 + 1 file changed, 1 insertion(+) 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 = "" -- 2.40.1