summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index ead829efa0..67e0c1d13a 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -33,6 +33,7 @@ BB_HASHFILENAME = "${SSTATE_EXTRAPATH} ${SSTATE_PKGSPEC} ${SSTATE_SWSPEC}"
33SSTATE_MANMACH ?= "${SSTATE_PKGARCH}" 33SSTATE_MANMACH ?= "${SSTATE_PKGARCH}"
34 34
35SSTATECREATEFUNCS = "sstate_hardcode_path" 35SSTATECREATEFUNCS = "sstate_hardcode_path"
36SSTATEPOSTCREATEFUNCS = ""
36SSTATEPREINSTFUNCS = "" 37SSTATEPREINSTFUNCS = ""
37SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack" 38SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack"
38SSTATEPOSTINSTFUNCS = "" 39SSTATEPOSTINSTFUNCS = ""
@@ -512,7 +513,8 @@ def sstate_package(ss, d):
512 d.setVar('SSTATE_BUILDDIR', sstatebuild) 513 d.setVar('SSTATE_BUILDDIR', sstatebuild)
513 d.setVar('SSTATE_PKG', sstatepkg) 514 d.setVar('SSTATE_PKG', sstatepkg)
514 515
515 for f in (d.getVar('SSTATECREATEFUNCS', True) or '').split() + ['sstate_create_package']: 516 for f in (d.getVar('SSTATECREATEFUNCS', True) or '').split() + ['sstate_create_package'] + \
517 (d.getVar('SSTATEPOSTCREATEFUNCS', True) or '').split():
516 bb.build.exec_func(f, d) 518 bb.build.exec_func(f, d)
517 519
518 bb.siggen.dump_this_task(sstatepkg + ".siginfo", d) 520 bb.siggen.dump_this_task(sstatepkg + ".siginfo", d)