@@ -63,6 +63,14 @@ labeling on first boot. Set FIRST_BOOT_RELABEL to 1 in local.conf:
FIRST_BOOT_RELABEL = "1"
+Enable SELinux support on native tools
+--------------------------------------
+By default, native tools are not built with SELinux support. With target
+support for SELinux it is very helpful during debug when the native tools
+support SELinux, too. This can be achieved, for example, by adding to
+local.conf:
+
+DISTRO_FEATURES_FILTER_NATIVE:append = " selinux"
Starting up the system
----------------------
@@ -1,3 +1,3 @@
inherit selinux
-PACKAGECONFIG:append = " ${@target_selinux(d, 'selinux')}"
+PACKAGECONFIG:append = " ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"