]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: Use full versions for inter-package dependencies
authorZoltán Böszörményi <zboszor@gmail.com>
Mon, 23 Aug 2021 14:54:49 +0000 (16:54 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Aug 2021 10:53:23 +0000 (11:53 +0100)
commit56428d15803733e14d6f1faf5f77eb933ef966f3
treeeb87a84a7d6530b84ea865f46ce99d22111843d1
parent4b13409d82e9d576e32b978f7a42a143127ab894
kernel.bbclass: Use full versions for inter-package dependencies

If the kernel configuration enables module signing but no key
is provided, then the kernel generates one during the kernel build.

The current runtime-dependency references (with only package names
without full versions) allow mixed package installations from different
rebuilds of the same kernel version.

This creates an issue because then the modules either don't work
or taint the kernel.

Tighten RDEPENDS with the full package version, i.e. use (= ${EXTENDPKGV})
markers for inter-package dependencies.

The kernel will pull in the kernel-modules subpackage of the same
exact version automatically if KERNEL_SPLIT_MODULES="0" is set.
Otherwise the situation is the same as with the old default with
one subpackage per kernel module where they have to be upgraded
manually.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass