summaryrefslogtreecommitdiffstats
path: root/meta/classes/staging.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-07 12:15:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-10 12:13:06 +0100
commitbd3e4bb3732b93567f71eb7795f9b7262a5fd12c (patch)
treeb9c7ae855bd775421decfd6a3127ab4ab7bafab6 /meta/classes/staging.bbclass
parent1589ac43db479534db65fd855587b1447276215c (diff)
downloadpoky-bd3e4bb3732b93567f71eb7795f9b7262a5fd12c.tar.gz
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. (From OE-Core rev: d8d5b624058920113f9d297f7f711d6d3249ae39) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/staging.bbclass')
-rw-r--r--meta/classes/staging.bbclass2
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() {
294 start = set([start]) 294 start = set([start])
295 295
296 sstatetasks = d.getVar("SSTATETASKS").split() 296 sstatetasks = d.getVar("SSTATETASKS").split()
297 # Add recipe specific tasks referenced by setscene_depvalid()
298 sstatetasks.append("do_stash_locale")
297 299
298 def print_dep_tree(deptree): 300 def print_dep_tree(deptree):
299 data = "" 301 data = ""