summaryrefslogtreecommitdiffstats
path: root/meta/classes-global
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-11 14:31:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-24 16:50:24 +0100
commit65318019cd8c6db19ae5d4526a0fa2d8c8ef25fa (patch)
tree7b97ae9eab7fecb7663c563327e608673d6d2a25 /meta/classes-global
parent62afa02d01794376efab75623f42e7e08af08526 (diff)
downloadpoky-65318019cd8c6db19ae5d4526a0fa2d8c8ef25fa.tar.gz
recipes/classes/scripts: Drop SRCPV usage in OE-Core
Now that SRCPV isn't needed we can simplify things in a few places... (From OE-Core rev: 843f82a246a535c353e08072f252d1dc78217872) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global')
-rw-r--r--meta/classes-global/sstate.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass
index 95373fd60a..c50198449c 100644
--- a/meta/classes-global/sstate.bbclass
+++ b/meta/classes-global/sstate.bbclass
@@ -769,7 +769,6 @@ def pstaging_fetch(sstatefetch, d):
769 localdata.setVar('FILESPATH', dldir) 769 localdata.setVar('FILESPATH', dldir)
770 localdata.setVar('DL_DIR', dldir) 770 localdata.setVar('DL_DIR', dldir)
771 localdata.setVar('PREMIRRORS', mirrors) 771 localdata.setVar('PREMIRRORS', mirrors)
772 localdata.setVar('SRCPV', d.getVar('SRCPV'))
773 772
774 # if BB_NO_NETWORK is set but we also have SSTATE_MIRROR_ALLOW_NETWORK, 773 # if BB_NO_NETWORK is set but we also have SSTATE_MIRROR_ALLOW_NETWORK,
775 # we'll want to allow network access for the current set of fetches. 774 # we'll want to allow network access for the current set of fetches.
@@ -795,9 +794,6 @@ def pstaging_fetch(sstatefetch, d):
795 except bb.fetch2.BBFetchException: 794 except bb.fetch2.BBFetchException:
796 pass 795 pass
797 796
798pstaging_fetch[vardepsexclude] += "SRCPV"
799
800
801def sstate_setscene(d): 797def sstate_setscene(d):
802 shared_state = sstate_state_fromvars(d) 798 shared_state = sstate_state_fromvars(d)
803 accelerate = sstate_installpkg(shared_state, d) 799 accelerate = sstate_installpkg(shared_state, d)