path: root/meta/classes/staging.bbclass
diff options
authorRichard Purdie <>2018-09-07 12:15:52 +0100
committerRichard Purdie <>2018-09-07 17:48:32 +0100
commitd8d5b624058920113f9d297f7f711d6d3249ae39 (patch)
tree522595d460f497bc97c8fc5d26127de2e0f6e7e4 /meta/classes/staging.bbclass
parenta300c4917b6c22ef039158be7ae92055c35658d4 (diff)
staging: Ensure we handle glibc-locale do_stash_locale correctly
Occasionally we see warnings like: WARNING: core-image-sato-1.0-r0 do_populate_sdk: Manifest /home/pokybuild/yocto-worker/nightly-qa-extras/build/build/tmp/sstate-control/manifest-allarch-nativesdk-linux-libc-headers.populate_sysroot not found in i686_linux allarch (variant '')? which occur when do_populate_sdk is run in an otherwise empty TMPDIR. It occurs because do_stash_locale is not recognised as a setscene task and is removed from the taskgraph meaning the dependency chains fed through setscene_depvalid don't match what was actually setscene'd. That task is recipe specific and not in the global SSTATETASKS so we hardcode the value for now to stop the build warnings. This is going to need to be revisited for a more generic solution. Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/classes/staging.bbclass')
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 27b012ecbd..a1e4cf7090 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -294,6 +294,8 @@ python extend_recipe_sysroot() {
start = set([start])
sstatetasks = d.getVar("SSTATETASKS").split()
+ # Add recipe specific tasks referenced by setscene_depvalid()
+ sstatetasks.append("do_stash_locale")
def print_dep_tree(deptree):
data = ""