summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sstate.bbclass')
-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 a46dd2e210..79ae392116 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -613,10 +613,8 @@ def sstate_package(ss, d):
613 613
614 sstatebuild = d.expand("${WORKDIR}/sstate-build-%s/" % ss['task']) 614 sstatebuild = d.expand("${WORKDIR}/sstate-build-%s/" % ss['task'])
615 d.appendVar('SSTATE_PKG', '_'+ ss['task'] + ".tgz") 615 d.appendVar('SSTATE_PKG', '_'+ ss['task'] + ".tgz")
616 sstatepkg = d.getVar('SSTATE_PKG')
617 bb.utils.remove(sstatebuild, recurse=True) 616 bb.utils.remove(sstatebuild, recurse=True)
618 bb.utils.mkdirhier(sstatebuild) 617 bb.utils.mkdirhier(sstatebuild)
619 bb.utils.mkdirhier(os.path.dirname(sstatepkg))
620 for state in ss['dirs']: 618 for state in ss['dirs']:
621 if not os.path.exists(state[1]): 619 if not os.path.exists(state[1]):
622 continue 620 continue
@@ -756,6 +754,8 @@ sstate_create_package () {
756 return 754 return
757 fi 755 fi
758 756
757 mkdir -p `dirname ${SSTATE_PKG}`
758
759 # Use pigz if available 759 # Use pigz if available
760 OPT="-czS" 760 OPT="-czS"
761 if [ -x "$(command -v pigz)" ]; then 761 if [ -x "$(command -v pigz)" ]; then