]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate.bbclass: make SSTATE_PRUNE_OBSOLETEWORKDIR could be overwritten
authorKai Kang <kai.kang@windriver.com>
Fri, 24 Aug 2018 06:29:24 +0000 (14:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Aug 2018 09:27:15 +0000 (10:27 +0100)
Define variable SSTATE_PRUNE_OBSOLETEWORKDIR with '?=' in sstate.bbclass,
then it could be overwritten by user configuration.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass

index 084d6315239499a72631f358d2fd602a4b6a40d7..ecf08fb2d02cc49b13d4cf1cff28c2233ec0d3b9 100644 (file)
@@ -1040,7 +1040,7 @@ python sstate_eventhandler() {
         bb.siggen.dump_this_task(sstatepkg + '_' + taskname + ".tgz" ".siginfo", d)
 }
 
-SSTATE_PRUNE_OBSOLETEWORKDIR = "1"
+SSTATE_PRUNE_OBSOLETEWORKDIR ?= "1"
 
 # Event handler which removes manifests and stamps file for
 # recipes which are no longer reachable in a build where they