]> 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, 19 Sep 2024 10:01:27 +0000 (11:01 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 20 Sep 2024 17:58:35 +0000 (10:58 -0700)
commit78ca086441b21dedd9c471a3d3200c24fd9ec8d2
treee1ddf21e7a28075cdb9c233a320b086324e7cd62
parent8160fd3c042283a47a2601e1797847c303e1e7e5
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>
(cherry picked from commit c9e2a8fa2f0305ef1247ec405555612326f798f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/buildhistory.bbclass
meta/classes/sstate.bbclass