summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-09 17:11:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 09:29:55 -0800
commitbfd0a39bdf13f6953810bf868022a871d2a20b6d (patch)
treee3c3fddc611afb3e70d6fae68e7cbdc42e1fe796 /meta/classes/sstate.bbclass
parente758547db9048d4aa1c1415d6af8072f519fae24 (diff)
downloadpoky-bfd0a39bdf13f6953810bf868022a871d2a20b6d.tar.gz
classes: Drop now unneeded update_data calls
Now that the datastore works dynamically we don't need the update_data calls so we can just remove them. They're not actually done anything at all for a while. (From OE-Core rev: 8de0c5d3bd01919e2bf0394f9c485936d6098cec) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index bd9c2ae02e..465fdcf57d 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -645,7 +645,6 @@ def pstaging_fetch(sstatefetch, sstatepkg, d):
645 645
646 # Copy the data object and override DL_DIR and SRC_URI 646 # Copy the data object and override DL_DIR and SRC_URI
647 localdata = bb.data.createCopy(d) 647 localdata = bb.data.createCopy(d)
648 bb.data.update_data(localdata)
649 648
650 dldir = localdata.expand("${SSTATE_DIR}") 649 dldir = localdata.expand("${SSTATE_DIR}")
651 bb.utils.mkdirhier(dldir) 650 bb.utils.mkdirhier(dldir)
@@ -802,7 +801,6 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False):
802 if mirrors: 801 if mirrors:
803 # Copy the data object and override DL_DIR and SRC_URI 802 # Copy the data object and override DL_DIR and SRC_URI
804 localdata = bb.data.createCopy(d) 803 localdata = bb.data.createCopy(d)
805 bb.data.update_data(localdata)
806 804
807 dldir = localdata.expand("${SSTATE_DIR}") 805 dldir = localdata.expand("${SSTATE_DIR}")
808 localdata.delVar('MIRRORS') 806 localdata.delVar('MIRRORS')