Prepare master for new framework integration
[AGL/meta-agl-demo.git] / conf / include / agl-demo.inc
index 5a70196..a47f41d 100644 (file)
@@ -1,7 +1,19 @@
 IMAGE_FEATURES =+ "debug-tweaks"
 
-# disable the webruntime
-#DISTRO_FEATURES_append = " webruntime "
-DISTRO_FEATURES_append = " automount "
+DISTRO_FEATURES:append = " automount "
 
-IMAGE_INSTALL_append = " screen mc "
+# convenience
+IMAGE_INSTALL:append = " screen mc "
+
+# Include all kernel modules here for ease-of-use during development.
+# Note that this is conditional on virtual/kernel not being linux-dummy
+# in order to allow building the demo images as containers.
+# Comment this out to switch to selecting the kernel modules
+# individually.
+IMAGE_INSTALL:append = " ${@'kernel-modules' if d.getVar('PREFERRED_PROVIDER_virtual/kernel') != 'linux-dummy' else ''}"
+
+# enable the layer
+AGL_FEATURES:append = " agldemo"
+
+# install virtualbox drivers for vmdk
+#IMAGE_INSTALL:append = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic.vmdk wic.vmdk.xz', ' open-vm-tools vboxguestdrivers', '', d)}"