diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-20 08:28:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-23 13:49:11 +0100 |
commit | 353171e8419fbb18251f7b1311fbef2cbf5790ca (patch) | |
tree | 88e1c695b884f7cef1bc0f786922c20da6f3b5d2 /meta/classes | |
parent | d19571cefc656fa4d04cc8d462c1006023baabe9 (diff) | |
download | poky-353171e8419fbb18251f7b1311fbef2cbf5790ca.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.
(From OE-Core rev: 1fdbe550323b98ca67ed7130f5a0d7d626bd2c64)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/staging.bbclass | 1 |
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() { | |||
306 | sstatetasks = d.getVar("SSTATETASKS").split() | 306 | sstatetasks = d.getVar("SSTATETASKS").split() |
307 | # Add recipe specific tasks referenced by setscene_depvalid() | 307 | # Add recipe specific tasks referenced by setscene_depvalid() |
308 | sstatetasks.append("do_stash_locale") | 308 | sstatetasks.append("do_stash_locale") |
309 | sstatetasks.append("do_deploy") | ||
309 | 310 | ||
310 | def print_dep_tree(deptree): | 311 | def print_dep_tree(deptree): |
311 | data = "" | 312 | data = "" |