Skip to contentSkip to conversation

sstate: Ensure populate_lic sstate objects are cleaned

PATCH New Richard Purdie 1 participant 1 message Feb 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sstate: Ensure populate_lic sstate objects are cleaned

do_cleansstate wasn't cleaning do_populate_lic sstate objects in the native/cross case since the wildcard path entry wasn't being cleared at the same time as the path extra prefix. Fix by clearing it at the same time.

meta/classes/sstate.bbclass +1 -0
index d606c02..7c7e024 100644
@@ -124,6 +124,7 @@ def sstate_state_fromvars(d, task = None):
     if task == "populate_lic":
         d.setVar("SSTATE_PKGSPEC", "${SSTATE_SWSPEC}")
         d.setVar("SSTATE_EXTRAPATH", "")
+        d.setVar('SSTATE_EXTRAPATHWILDCARD', "")
 
     ss = sstate_init(task, d)
     for i in range(len(inputs)):