Skip to contentSkip to conversation

mesa: add dependency on libselinux-native

PATCH Applied Joe Slater 2 participants 2 messages Apr 2, 2014 – Apr 3, 2014

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 mesa: add dependency on libselinux-native

mesa builds a host utility named builtin_compiler, and that needs selinux, too, if --enable-selinux is specfied to configure.

---
 recipes-graphics/mesa/mesa_9.1.6.bbappend |    5 +++++
 1 file changed, 5 insertions(+)
recipes-graphics/mesa/mesa_9.1.6.bbappend +5 -0
index 8c11cac..0004f71 100644
@@ -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,"
Signature · 1 line
1.7.9.5
#1 lore raw

Merged, thanks.
-J.

Quoted 23 lines · [[yocto] [meta-selinux][PATCH 1/1] mesa: add dependency on libselinux-native]…

mesa builds a host utility named builtin_compiler, and that needs selinux, too, if --enable-selinux is specfied to configure.

---
 recipes-graphics/mesa/mesa_9.1.6.bbappend |    5 +++++
 1 file changed, 5 insertions(+)
recipes-graphics/mesa/mesa_9.1.6.bbappend +5 -0
index 8c11cac..0004f71 100644
@@ -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,"
Signature · 1 line
1.7.9.5
Signature · 2 lines
-Joe MacDonald.
:wq