]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
buildhistory: Simplify intercept call sites and drop SSTATEPOSTINSTFUNC usage
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Aug 2024 11:57:40 +0000 (12:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Sep 2024 11:36:43 +0000 (12:36 +0100)
commitc9e2a8fa2f0305ef1247ec405555612326f798f8
treeedf5a873c90a6545a21620a81505c5ea1d361d98
parent26b71cfb7815a096c5962629801cc3bc85147284
buildhistory: Simplify intercept call sites and drop SSTATEPOSTINSTFUNC usage

We planned to drop SSTATEPOSTINSTFUNC some time ago with the introduction of
postfuncs. Finally get around to doing that which should make the buildhistory
code a little more readable.

Unfortunately ordering the buildhistory function calls after the sstate ones is
difficult without coding that into the sstate class. This patch does that to
ensure everything functions as expected until we can find a better way. This is
still likely preferable than the generic sstate postfuncs support since the function
flow is much more readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/sstate.bbclass
meta/classes/buildhistory.bbclass