meta-netboot: Add SELinux support
[AGL/meta-agl.git] / meta-netboot / conf / include / agl-netboot.inc
index 5556295..2c1307e 100644 (file)
@@ -1,3 +1,6 @@
 INHERIT += "netboot"
 
-IMAGE_INSTALL:append:netboot = " curl"
+IMAGE_INSTALL:append:netboot = " \
+    curl \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'resolv-conf-relabel policycoreutils-loadpolicy', '', d)} \
+"