Message ID | 20240902103148.3762538-4-pedro.silva.ferreira@criticaltechworks.com |
---|---|
State | Changes Requested |
Delegated to: | Steve Sakoman |
Headers | show |
Series | [scarthgap,1/4] buildhistory: Fix intermittent package file list creation | expand |
On Mon, 2024-09-02 at 11:31 +0100, Pedro Ferreira wrote: > From: Richard Purdie <richard.purdie@linuxfoundation.org> > > 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. > > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> > --- > meta/classes-global/sstate.bbclass | 6 ------ > 1 file changed, 6 deletions(-) I suspect this patch can be dropped from the series as we wouldn't remove this on a stable branch. I'd also highlight that this has not merged to master yet. Cheers, Richard
diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 93df5fa9e6..42b7e03513 100644 --- a/meta/classes-global/sstate.bbclass +++ b/meta/classes-global/sstate.bbclass @@ -103,7 +103,6 @@ SSTATECREATEFUNCS[vardeps] = "SSTATE_SCAN_FILES" SSTATEPOSTCREATEFUNCS = "" SSTATEPREINSTFUNCS = "" SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack" -SSTATEPOSTINSTFUNCS = "" EXTRA_STAGING_FIXMES ?= "HOSTTOOLS_DIR" # Check whether sstate exists for tasks that support sstate and are in the @@ -332,15 +331,10 @@ def sstate_install(ss, d): if os.path.exists(state[1]): oe.path.copyhardlinktree(state[1], state[2]) - for postinst in (d.getVar('SSTATEPOSTINSTFUNCS') or '').split(): - # All hooks should run in the SSTATE_INSTDIR - bb.build.exec_func(postinst, d, (sstateinst,)) - for lock in locks: bb.utils.unlockfile(lock) sstate_install[vardepsexclude] += "SSTATE_ALLOW_OVERLAP_FILES SSTATE_MANMACH SSTATE_MANFILEPREFIX" -sstate_install[vardeps] += "${SSTATEPOSTINSTFUNCS}" def sstate_installpkg(ss, d): from oe.gpg_sign import get_signer