aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-06-14 19:18:07 -0400
committerScott Murray <scott.murray@konsulko.com>2021-06-14 19:18:07 -0400
commit39c3ae23a452272dbec96fb95b5928856eb05c42 (patch)
tree0a316335141b5651710fdb2d657bb819117c52d3 /conf
parent9cf18e1f4861f4e268873c06b7f0e17e6e698663 (diff)
Add kernel-modules package to demo images
Add the kernel-modules meta package to demo images in the agl-demo.inc aglsetup.sh template. This change is to balance out a removal done in the base template in meta-agl and retain the build of all kernel modules into the demo platform images for developer convenience. Note that the inclusion is conditional on the virtual/kernel provider not being linux-dummy, as it is desirable to leave even the dummy kernel-modules package out of container images to avoid confusion. Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3c4e3876c11d7fb3f1796841aad8a9a463d8e513
Diffstat (limited to 'conf')
-rw-r--r--conf/include/agl-demo.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/include/agl-demo.inc b/conf/include/agl-demo.inc
index 63b024ad2..17be8e90b 100644
--- a/conf/include/agl-demo.inc
+++ b/conf/include/agl-demo.inc
@@ -5,6 +5,13 @@ DISTRO_FEATURES_append = " automount "
# 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 ''}"
+
# Extend agl-voiceagent-alexa image feature with local alexa-viewer
# package.
FEATURE_PACKAGES_agl-voiceagent-alexa_append = " alexa-viewer"