sstate: Add extra intercept functions SSTATEPOSTCREATEFUNCS
cover sstate: Add extra intercept functions SSTATEPOSTCREATEFUNCS
The following changes since commit fd0398f2c1355597a95242e6c8400eae6ad60fa4:
poky-tiny: Fix qemu build failure (2014-08-31 23:40:50 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib hongxu/sstate-addhook
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/sstate-addhook
Hongxu Jia (1):
sstate: Add extra intercept functions SSTATEPOSTCREATEFUNCS
meta/classes/sstate.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1
PATCH 1/1 sstate: Add extra intercept functions SSTATEPOSTCREATEFUNCS
In some cases we do either need to add extra sstate manipulation functions, or change the existing modification functions. This patch parametrizes it to SSTATEPOSTCREATEFUNCS after sstate_create_package
Signed-off-by Hongxu Jia <[email protected]>
--- meta/classes/sstate.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/classes/sstate.bbclass +3 -1
@@ -33,6 +33,7 @@ BB_HASHFILENAME = "${SSTATE_EXTRAPATH} ${SSTATE_PKGSPEC} ${SSTATE_SWSPEC}" SSTATE_MANMACH ?= "${SSTATE_PKGARCH}" SSTATECREATEFUNCS = "sstate_hardcode_path" +SSTATEPOSTCREATEFUNCS = "" SSTATEPREINSTFUNCS = "" SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack" SSTATEPOSTINSTFUNCS = ""
@@ -512,7 +513,8 @@ def sstate_package(ss, d): d.setVar('SSTATE_BUILDDIR', sstatebuild) d.setVar('SSTATE_PKG', sstatepkg) - for f in (d.getVar('SSTATECREATEFUNCS', True) or '').split() + ['sstate_create_package']: + for f in (d.getVar('SSTATECREATEFUNCS', True) or '').split() + ['sstate_create_package'] + \ + (d.getVar('SSTATEPOSTCREATEFUNCS', True) or '').split(): bb.build.exec_func(f, d) bb.siggen.dump_this_task(sstatepkg + ".siginfo", d)
Signature · 1 line
1.9.1