Skip to contentSkip to conversation

sstate.bbclass: make SSTATE_PRUNE_OBSOLETEWORKDIR could be overwritten

PATCH New [email protected] 1 participant 2 messages Aug 24, 2018

lore
Share & tools
lore
#0 lore raw

cover sstate.bbclass: make SSTATE_PRUNE_OBSOLETEWORKDIR could be overwritten

From: Kai Kang <[email protected]>

The following changes since commit bd374216048581bcb3ea54d69998342525cf2da5:

util-linux: upgrade 2.32 -> 2.32.1 (2018-08-23 18:02:23 +0100)

are available in the Git repository at:

git://git.pokylinux.org/poky-contrib kangkai/sstate_prune
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/sstate_prune

Kai Kang (1):
sstate.bbclass: make SSTATE_PRUNE_OBSOLETEWORKDIR could be overwritten

 meta/classes/sstate.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.18.0
#1 lore raw

PATCH 1/1 sstate.bbclass: make SSTATE_PRUNE_OBSOLETEWORKDIR could be overwritten

From: Kai Kang <[email protected]>

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

---
 meta/classes/sstate.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/sstate.bbclass +1 -1
index 084d631523..ecf08fb2d0 100644
@@ -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
Signature · 1 line
2.18.0