diff options
author | Andreas Galauner <andreas@galauner.de> | 2014-01-11 06:58:41 +0100 |
---|---|---|
committer | Andreas Galauner <andreas@galauner.de> | 2014-01-11 06:58:41 +0100 |
commit | 28935bbaa0becda1cd3186956b09d09c1a4bbed4 (patch) | |
tree | 655b4be56c07b1345a3ce4569ea65b9a4ad8ac37 | |
parent | 74f73159e5c659d8ee52a3d48238932b36e4fe93 (diff) | |
download | meta-xilinx-28935bbaa0becda1cd3186956b09d09c1a4bbed4.tar.gz |
Don't add the kernel modules to the kernel-base package. This breaks the kernel-modules metapackage which is automatically created.
By adding the kernel module files to the kernel-base package, the kernel-modules metapackage breaks. The metapackage depends on automatically created kernel-module packages (named kernel-module-<modulename>) which are empty if the files are added to the kernel-base package. This causes bitbake to not create the packages for installing later as they wouldn't have any effect anyway. The twist is, that the kernel-modules metapackages depends on these packages. During creation of the rootfs, the process fails, because those packages can't be found.
If modules should be installed in the image, don't use the kernel-base package for that. The kernel-modules packages is the right one.
-rw-r--r-- | recipes-kernel/linux/linux-xlnx.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-xlnx.inc b/recipes-kernel/linux/linux-xlnx.inc index 182e93f6..91afd952 100644 --- a/recipes-kernel/linux/linux-xlnx.inc +++ b/recipes-kernel/linux/linux-xlnx.inc | |||
@@ -29,9 +29,6 @@ COMPATIBLE_MACHINE = "qemumicroblaze|qemuzynq|microblaze|zynq" | |||
29 | MACHINE_KCONFIG_append_zynq += "common/zynq_defconfig_${LINUX_VERSION}.cfg" | 29 | MACHINE_KCONFIG_append_zynq += "common/zynq_defconfig_${LINUX_VERSION}.cfg" |
30 | MACHINE_KCONFIG_append_microblaze += "common/microblaze_defconfig_${LINUX_VERSION}.cfg" | 30 | MACHINE_KCONFIG_append_microblaze += "common/microblaze_defconfig_${LINUX_VERSION}.cfg" |
31 | 31 | ||
32 | # Add the modules directory to the 'kernel-base' files list | ||
33 | FILES_kernel-base_append = " /lib/modules/${KERNEL_VERSION}/kernel" | ||
34 | |||
35 | # returns all the elements from the src uri that are .cfg files | 32 | # returns all the elements from the src uri that are .cfg files |
36 | def find_config_fragments(d): | 33 | def find_config_fragments(d): |
37 | sources=src_patches(d, True) | 34 | sources=src_patches(d, True) |