]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bootchart2: Fix usrmerge support
authorHarald Seiler <hws@denx.de>
Fri, 3 Feb 2023 09:59:51 +0000 (10:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Feb 2023 21:54:22 +0000 (21:54 +0000)
commit7031bc65b10040877392ed774a0cdddef85c12e0
tree99ad859d28b9234589819ce0237ef8c71f461064
parent8f5af6de0d4e72d4efa5be8f85de62214acf4ae8
bootchart2: Fix usrmerge support

bootchart2 introduced a variable EARLY_PREFIX for supporting systems
with usrmerge [1].  Right now, the recipe here is sidestepping this
feature and trying to replicate it by overwriting other variables and
even patching the sources.  This wasn't enough, however, as there are
still problems:  For example, some setup code in the bootchart-collector
fails because it expects EARLY_PREFIX to be used [2].

Cleanup the recipe to set EARLY_PREFIX and remove the other workarounds.

[1]: https://github.com/xrmx/bootchart/commit/56a638ace1d172163b6d636c89892446b8add4b6
[2]: https://github.com/xrmx/bootchart/blob/3d2136d0335718fbe1a8e2370ccbc30123a6e593/collector/collector.c#L670-L672

Fixes: 4157600d3122 ("bootchart2: switch to add patch from change source in do_install")
Signed-off-by: Harald Seiler <hws@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/bootchart2/bootchart2/0001-bootchart2-support-usrmerge.patch [deleted file]
meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb