[oe] [PATCH] fb-tests: Prepend fb- to the binaries

Darren Hart dvhart at linux.intel.com
Fri Jan 23 17:46:43 UTC 2015


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

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
Cc: Koen Kooi <koen at dominion.thruhere.net>
---
 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




More information about the Openembedded-devel mailing list