diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index a780926797..af588548c2 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -313,6 +313,11 @@ def sstate_installpkg(ss, d): | |||
313 | if not signer.verify(sstatepkg + '.sig'): | 313 | if not signer.verify(sstatepkg + '.sig'): |
314 | bb.warn("Cannot verify signature on sstate package %s" % sstatepkg) | 314 | bb.warn("Cannot verify signature on sstate package %s" % sstatepkg) |
315 | 315 | ||
316 | # Empty sstateinst directory, ensure its clean | ||
317 | if os.path.exists(sstateinst): | ||
318 | oe.path.remove(sstateinst) | ||
319 | bb.utils.mkdirhier(sstateinst) | ||
320 | |||
316 | sstateinst = d.getVar("SSTATE_INSTDIR") | 321 | sstateinst = d.getVar("SSTATE_INSTDIR") |
317 | d.setVar('SSTATE_FIXMEDIR', ss['fixmedir']) | 322 | d.setVar('SSTATE_FIXMEDIR', ss['fixmedir']) |
318 | 323 | ||