summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sstate.bbclass10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index f446c3df02..6af0d388bc 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -346,8 +346,6 @@ def sstate_installpkgdir(ss, d):
346 oe.path.remove(dir) 346 oe.path.remove(dir)
347 347
348 for state in ss['dirs']: 348 for state in ss['dirs']:
349 if d.getVar('SSTATE_SKIP_CREATION') == '1':
350 continue
351 prepdir(state[1]) 349 prepdir(state[1])
352 os.rename(sstateinst + state[0], state[1]) 350 os.rename(sstateinst + state[0], state[1])
353 sstate_install(ss, d) 351 sstate_install(ss, d)
@@ -596,8 +594,6 @@ def sstate_package(ss, d):
596 for state in ss['dirs']: 594 for state in ss['dirs']:
597 if not os.path.exists(state[1]): 595 if not os.path.exists(state[1]):
598 continue 596 continue
599 if d.getVar('SSTATE_SKIP_CREATION') == '1':
600 continue
601 srcbase = state[0].rstrip("/").rsplit('/', 1)[0] 597 srcbase = state[0].rstrip("/").rsplit('/', 1)[0]
602 # Find and error for absolute symlinks. We could attempt to relocate but its not 598 # Find and error for absolute symlinks. We could attempt to relocate but its not
603 # clear where the symlink is relative to in this context. We could add that markup 599 # clear where the symlink is relative to in this context. We could add that markup
@@ -625,6 +621,10 @@ def sstate_package(ss, d):
625 621
626 d.setVar('SSTATE_BUILDDIR', sstatebuild) 622 d.setVar('SSTATE_BUILDDIR', sstatebuild)
627 d.setVar('SSTATE_PKG', sstatepkg) 623 d.setVar('SSTATE_PKG', sstatepkg)
624 d.setVar('SSTATE_INSTDIR', sstatebuild)
625
626 if d.getVar('SSTATE_SKIP_CREATION') == '1':
627 return
628 628
629 for f in (d.getVar('SSTATECREATEFUNCS') or '').split() + \ 629 for f in (d.getVar('SSTATECREATEFUNCS') or '').split() + \
630 ['sstate_create_package', 'sstate_sign_package'] + \ 630 ['sstate_create_package', 'sstate_sign_package'] + \
@@ -634,8 +634,6 @@ def sstate_package(ss, d):
634 634
635 bb.siggen.dump_this_task(sstatepkg + ".siginfo", d) 635 bb.siggen.dump_this_task(sstatepkg + ".siginfo", d)
636 636
637 d.setVar('SSTATE_INSTDIR', sstatebuild)
638
639 return 637 return
640 638
641def pstaging_fetch(sstatefetch, sstatepkg, d): 639def pstaging_fetch(sstatefetch, sstatepkg, d):