]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: Ensure populate_lic sstate objects are cleaned
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 7 Feb 2016 17:09:41 +0000 (17:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Feb 2016 15:51:04 +0000 (15:51 +0000)
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.

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

index 024b8017174fc19fdc03dd2b1b32b14870779140..997d55baabf5da483435d5eccb3c826a71c6e7b5 100644 (file)
@@ -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)):