Remove default inclusion of kernel-modules 31/26431/3
authorScott Murray <scott.murray@konsulko.com>
Mon, 14 Jun 2021 22:12:31 +0000 (18:12 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 23 Jun 2021 19:37:51 +0000 (19:37 +0000)
Remove the kernel-modules meta package append to IMAGE_INSTALL
from the default base-agl.inc aglsetup.sh template, as it essentially
turns a developer convenience into default behavior that may not be
desirable by all users.  Note that this does change the contents of
agl-image-(boot|minimal|weston) with respect to kernel modules on
most platforms, but if this proves problematic it is recommended that
kernel-modules be added back elsewhere in a more transparent fashion.
A corresponding change will be made in meta-agl-demo to retain the
behavior for the demo platform images.

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie1098f25d69e721345d13db3681278543d594e78
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26431
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-core/conf/include/base-agl.inc

index 5ca723a..f132359 100644 (file)
@@ -1,9 +1,5 @@
-# AGL includes all kernel modules here for ease-of-use during development.
-# Comment this out to be able to select the kernel modules yourself.
-IMAGE_INSTALL_append = " kernel-modules"
-
-# Likewise as we included all kernel modules by default in the filesystem,
-# we do not need a separate tarball stored.
+# Disable kernel module tarballs by default on the assumption that
+# desired modules will already be present in images.
 # Comment this out to receive the separate modules tarball again.
 MODULE_TARBALL_DEPLOY ?= "0"