summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-07-06 10:40:18 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-06 22:59:33 +0100
commita4c1720eb362b797328c6433300828429bd77916 (patch)
tree46ab90f65fdec689474202ced3ddd1fc4ffc94b2 /meta/classes
parent660374adb691701851056f47f7b9a4c3b3e8de14 (diff)
downloadpoky-a4c1720eb362b797328c6433300828429bd77916.tar.gz
classes/sstate: Remove unused argument
Removes an unused argument to pstaging_fetch() (From OE-Core rev: ab0eb2bf0db6e7da7c9b9bb4d46621dbf76dcc2a) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index a78d07c41d..5a0722567a 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -300,7 +300,7 @@ def sstate_installpkg(ss, d):
300 sstatepkg = d.getVar('SSTATE_PKG') + '_' + ss['task'] + ".tgz" 300 sstatepkg = d.getVar('SSTATE_PKG') + '_' + ss['task'] + ".tgz"
301 301
302 if not os.path.exists(sstatepkg): 302 if not os.path.exists(sstatepkg):
303 pstaging_fetch(sstatefetch, sstatepkg, d) 303 pstaging_fetch(sstatefetch, d)
304 304
305 if not os.path.isfile(sstatepkg): 305 if not os.path.isfile(sstatepkg):
306 bb.note("Staging package %s does not exist" % sstatepkg) 306 bb.note("Staging package %s does not exist" % sstatepkg)
@@ -635,7 +635,7 @@ def sstate_package(ss, d):
635 635
636 return 636 return
637 637
638def pstaging_fetch(sstatefetch, sstatepkg, d): 638def pstaging_fetch(sstatefetch, d):
639 import bb.fetch2 639 import bb.fetch2
640 640
641 # Only try and fetch if the user has configured a mirror 641 # Only try and fetch if the user has configured a mirror