]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
bootchart2: Fix usrmerge support
authorHarald Seiler <hws@denx.de>
Fri, 3 Feb 2023 09:59:51 +0000 (10:59 +0100)
committerSteve Sakoman <steve@sakoman.com>
Sat, 11 Feb 2023 14:03:33 +0000 (04:03 -1000)
commit5e1dbd44d1aaaeaa9bca7d99ad21499cc57e21d3
treefde01c23dd24a8d1781518844e7dd0b4b4a325a9
parent99b3e9101dc931e8d68158e7cf268dd7c6fee84c
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>
(cherry picked from commit 7031bc65b10040877392ed774a0cdddef85c12e0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/bootchart2/bootchart2/0001-bootchart2-support-usrmerge.patch [deleted file]
meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb