diff mbox series

[1/2] lmbench: set up /usr/bin/hello as alternative

Message ID 20230225231717.3887902-2-denis@denix.org
State Under Review
Headers show
Series Resolve conflict between /usr/bin/hello from lmbench and mbedtls | expand

Commit Message

Denys Dmytriyenko Feb. 25, 2023, 11:17 p.m. UTC
As lmbench installs this rather generically-named /usr/bin/hello binary,
it conflicts with the one provided by mbedtls, hence set it up as an
alternative to avoid conflicts when both are installed to rootfs or SDK.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
 meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
index d74c28f3f..03018bb52 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -99,6 +99,6 @@  pkg_postinst:${PN} () {
 RDEPENDS:${PN} = "perl"
 FILES:${PN} += "${datadir}/lmbench"
 
-ALTERNATIVE:${PN} = "stream"
+ALTERNATIVE:${PN} = "stream hello"
 ALTERNATIVE_LINK_NAME[stream] = "${bindir}/stream"
-
+ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello"