From 83df2e541be5ec7efad939e9acc5e9f10a95160d Mon Sep 17 00:00:00 2001 From: Florian BEZANNIER <48728684+flobz@users.noreply.github.com> Date: Tue, 3 Oct 2023 08:11:01 +0200 Subject: [PATCH 1/2] linux: fix KERNEL_MODULE_AUTOLOAD variable ignored Replacing PACKAGESPLITFUNCS:prepend = "split_kernel_module_packages " by KERNEL_SPLIT_MODULES = "0" allow to keep one kernel package with all the modules (for performance) but don't ignore KERNEL_MODULE_AUTOLOAD variable. --- recipes-kernel/linux/linux-compulab_5.15.32.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-compulab_5.15.32.bb b/recipes-kernel/linux/linux-compulab_5.15.32.bb index a6ad5e0..abe6dc3 100644 --- a/recipes-kernel/linux/linux-compulab_5.15.32.bb +++ b/recipes-kernel/linux/linux-compulab_5.15.32.bb @@ -67,7 +67,7 @@ do_kernel_localversion:prepend() { PACKAGES =+ "linux-compulab-headers" FILES:linux-compulab-headers = "${exec_prefix}/src/linux*" -PACKAGESPLITFUNCS:remove = "split_kernel_module_packages" +KERNEL_SPLIT_MODULES = "0" FILES:${KERNEL_PACKAGE_NAME}-modules = "/lib/modules/ /etc/" From 92eec77ad41611ee2bd6299d03a04bd6e5ce48de Mon Sep 17 00:00:00 2001 From: Florian BEZANNIER <48728684+flobz@users.noreply.github.com> Date: Tue, 3 Oct 2023 12:24:57 +0200 Subject: [PATCH 2/2] linux: remove FILES:${KERNEL_PACKAGE_NAME}-modules FILES:${KERNEL_PACKAGE_NAME}-modules isn't necessary and create conflict if KERNEL_SPLIT_MODULES==1 --- recipes-kernel/linux/linux-compulab_5.15.32.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes-kernel/linux/linux-compulab_5.15.32.bb b/recipes-kernel/linux/linux-compulab_5.15.32.bb index abe6dc3..4fc36df 100644 --- a/recipes-kernel/linux/linux-compulab_5.15.32.bb +++ b/recipes-kernel/linux/linux-compulab_5.15.32.bb @@ -69,6 +69,4 @@ FILES:linux-compulab-headers = "${exec_prefix}/src/linux*" KERNEL_SPLIT_MODULES = "0" -FILES:${KERNEL_PACKAGE_NAME}-modules = "/lib/modules/ /etc/" - COMPATIBLE_MACHINE = "(ucm-imx8mm|iot-gate-imx8)"