[yocto] [meta-selinux][PATCH 1/1] mesa: add dependency on libselinux-native
Joe Slater
jslater at windriver.com
Wed Apr 2 14:19:58 PDT 2014
mesa builds a host utility named builtin_compiler,
and that needs selinux, too, if --enable-selinux is
specfied to configure.
Signed-off-by: Joe Slater <jslater at windriver.com>
---
recipes-graphics/mesa/mesa_9.1.6.bbappend | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/recipes-graphics/mesa/mesa_9.1.6.bbappend b/recipes-graphics/mesa/mesa_9.1.6.bbappend
index 8c11cac..0004f71 100644
--- a/recipes-graphics/mesa/mesa_9.1.6.bbappend
+++ b/recipes-graphics/mesa/mesa_9.1.6.bbappend
@@ -1 +1,6 @@
inherit enable-selinux
+
+# But wait! There's more! mesa builds a host program named builtin_compiler
+# and it needs selinux, too. We replace the PACKAGECONFIG[] in the bbclass.
+#
+PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux libselinux-native,"
--
1.7.9.5
More information about the yocto
mailing list