1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

sstate.bbclass: make SSTATE_PRUNE_OBSOLETEWORKDIR could be overwritten

Define variable SSTATE_PRUNE_OBSOLETEWORKDIR with '?=' in sstate.bbclass,
then it could be overwritten by user configuration.

(From OE-Core rev: 22af59c9bfec31b31027ebd2a4da162f481aa6b5)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kai Kang
2018-08-24 14:29:24 +08:00
committed by Richard Purdie
parent 0ff014926f
commit cd28f5fbf7
+1 -1
View File
@@ -1040,7 +1040,7 @@ python sstate_eventhandler() {
bb.siggen.dump_this_task(sstatepkg + '_' + taskname + ".tgz" ".siginfo", d) 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 # Event handler which removes manifests and stamps file for
# recipes which are no longer reachable in a build where they # recipes which are no longer reachable in a build where they