summaryrefslogtreecommitdiffstats
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
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
-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"
#n156'>156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323