From d8d5b624058920113f9d297f7f711d6d3249ae39 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 7 Sep 2018 12:15:52 +0100 Subject: 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 --- meta/classes/staging.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/staging.bbclass') 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 = "" -- cgit 1.2.3-korg