The binaries conflict with perf and mesa-demos. Update do_install to
prefix the binaries, avoiding the namespace conflict.

Signed-off-by: Darren Hart <[email protected]>
Cc: Koen Kooi <[email protected]>
---
 meta-oe/recipes-support/fbtest/fb-test_git.bb | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta-oe/recipes-support/fbtest/fb-test_git.bb 
b/meta-oe/recipes-support/fbtest/fb-test_git.bb
index 65f98c1..13f9e37 100644
--- a/meta-oe/recipes-support/fbtest/fb-test_git.bb
+++ b/meta-oe/recipes-support/fbtest/fb-test_git.bb
@@ -11,9 +11,10 @@ SRC_URI = "git://github.com/prpplague/fb-test-app.git"
 S = "${WORKDIR}/git"
 
 do_install() {
-    install -d ${D}${bindir}
-    for prog in perf rect fb-test offset ; do
-        install -m 0755 $prog ${D}${bindir}
-    done
+       install -d ${D}${bindir}
+       install -m 0755 fb-test ${D}${bindir}
+       # avoid collisions with perf (perf) and mesa-demos (offset)
+       for prog in perf rect offset ; do
+               install -m 0755 $prog ${D}${bindir}/fb-$prog
+       done
 }
-
-- 
2.1.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to