]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: Skip glibc do_stash_locale and gcc do_gcc_stash_builddir tasks
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Apr 2017 14:37:12 +0000 (15:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Apr 2017 21:48:06 +0000 (22:48 +0100)
We never need these tasks as dependencies of other sstate tasks since
they're only ever needed to build artefacts so we can always skip them
and save some time/space.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass

index af588548c2ef85d966787df7ae1432e1744bdba6..bc0ec54e3e2195b05187c9063312080cef89ccd8 100644 (file)
@@ -915,6 +915,10 @@ def setscene_depvalid(task, taskdependees, notneeded, d, log=None):
     if taskdependees[task][1] == "do_populate_lic":
         return True
 
+    # stash_locale and gcc_stash_builddir are never needed as a dependency for built objects
+    if taskdependees[task][1] == "do_stash_locale" or taskdependees[task][1] == "do_gcc_stash_builddir":
+        return True
+
     # We only need to trigger packagedata through direct dependencies
     # but need to preserve packagedata on packagedata links
     if taskdependees[task][1] == "do_packagedata":