diff options
-rw-r--r-- | meta/classes/sstate.bbclass | 4 |
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 | ||
638 | def pstaging_fetch(sstatefetch, sstatepkg, d): | 638 | def 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 |