summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/sstate.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-29 13:02:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-09-04 12:38:44 +0100
commit498ebc9b168ce419302af8f6addb47a60d853188 (patch)
tree8bcf5e9d83298fe60eb8efc3ebea34627008ae4f /meta/classes-global/sstate.bbclass
parentead03cae663d19ce202cdfefad50b59ada7f1073 (diff)
downloadpoky-498ebc9b168ce419302af8f6addb47a60d853188.tar.gz
sstate: Drop SSTATEPOSTINSTFUNC support
This was deprecated with the introduction of postfunc support for tasks in general and only used by buildhistory. Now that usage has been removed, drop the code from sstate.bbclass. Any other users should be able to use postfuncs too. (From OE-Core rev: 74e08170a5584d83f5f03cd8a71978b5e0895c1d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/sstate.bbclass')
-rw-r--r--meta/classes-global/sstate.bbclass6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass
index 586757afbd..f38041b735 100644
--- a/meta/classes-global/sstate.bbclass
+++ b/meta/classes-global/sstate.bbclass
@@ -103,7 +103,6 @@ SSTATECREATEFUNCS[vardeps] = "SSTATE_SCAN_FILES"
103SSTATEPOSTCREATEFUNCS = "" 103SSTATEPOSTCREATEFUNCS = ""
104SSTATEPREINSTFUNCS = "" 104SSTATEPREINSTFUNCS = ""
105SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack" 105SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack"
106SSTATEPOSTINSTFUNCS = ""
107EXTRA_STAGING_FIXMES ?= "HOSTTOOLS_DIR" 106EXTRA_STAGING_FIXMES ?= "HOSTTOOLS_DIR"
108 107
109# Check whether sstate exists for tasks that support sstate and are in the 108# Check whether sstate exists for tasks that support sstate and are in the
@@ -352,15 +351,10 @@ def sstate_install(ss, d):
352 prepdir(dest) 351 prepdir(dest)
353 bb.utils.rename(src, dest) 352 bb.utils.rename(src, dest)
354 353
355 for postinst in (d.getVar('SSTATEPOSTINSTFUNCS') or '').split():
356 # All hooks should run in the SSTATE_INSTDIR
357 bb.build.exec_func(postinst, d, (sstateinst,))
358
359 for lock in locks: 354 for lock in locks:
360 bb.utils.unlockfile(lock) 355 bb.utils.unlockfile(lock)
361 356
362sstate_install[vardepsexclude] += "SSTATE_ALLOW_OVERLAP_FILES SSTATE_MANMACH SSTATE_MANFILEPREFIX" 357sstate_install[vardepsexclude] += "SSTATE_ALLOW_OVERLAP_FILES SSTATE_MANMACH SSTATE_MANFILEPREFIX"
363sstate_install[vardeps] += "${SSTATEPOSTINSTFUNCS}"
364 358
365def sstate_installpkg(ss, d): 359def sstate_installpkg(ss, d):
366 from oe.gpg_sign import get_signer 360 from oe.gpg_sign import get_signer