diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 4bf087b4e8..8b4bfc25b7 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -731,6 +731,7 @@ def pstaging_fetch(sstatefetch, d): | |||
731 | localdata.setVar('FILESPATH', dldir) | 731 | localdata.setVar('FILESPATH', dldir) |
732 | localdata.setVar('DL_DIR', dldir) | 732 | localdata.setVar('DL_DIR', dldir) |
733 | localdata.setVar('PREMIRRORS', mirrors) | 733 | localdata.setVar('PREMIRRORS', mirrors) |
734 | localdata.setVar('SRCPV', d.getVar('SRCPV')) | ||
734 | 735 | ||
735 | # if BB_NO_NETWORK is set but we also have SSTATE_MIRROR_ALLOW_NETWORK, | 736 | # if BB_NO_NETWORK is set but we also have SSTATE_MIRROR_ALLOW_NETWORK, |
736 | # we'll want to allow network access for the current set of fetches. | 737 | # we'll want to allow network access for the current set of fetches. |
@@ -755,6 +756,9 @@ def pstaging_fetch(sstatefetch, d): | |||
755 | except bb.fetch2.BBFetchException: | 756 | except bb.fetch2.BBFetchException: |
756 | pass | 757 | pass |
757 | 758 | ||
759 | pstaging_fetch[vardepsexclude] += "SRCPV" | ||
760 | |||
761 | |||
758 | def sstate_setscene(d): | 762 | def sstate_setscene(d): |
759 | shared_state = sstate_state_fromvars(d) | 763 | shared_state = sstate_state_fromvars(d) |
760 | accelerate = sstate_installpkg(shared_state, d) | 764 | accelerate = sstate_installpkg(shared_state, d) |