meta-netboot: Add SELinux support
[AGL/meta-agl.git] / meta-netboot / conf / include / agl-netboot.inc
index 47f0c08..2c1307e 100644 (file)
@@ -1,5 +1,6 @@
 INHERIT += "netboot"
-OVERRIDES .= ":netboot"
 
-# add 256MB of extra space in ext4 output image
-IMAGE_ROOTFS_EXTRA_SPACE ?= "262144"
+IMAGE_INSTALL:append:netboot = " \
+    curl \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'resolv-conf-relabel policycoreutils-loadpolicy', '', d)} \
+"