Updating the kernel (for all package managers) does not update the dependencies (eg. modules) because there is no possibility to do version enforcement in the OE recipe. Upon rebooting, the older version modules do not load and can leave hardware in a non-functioning state (if their drivers are not built into the kernel).
Use the Version field from the kernel package on its rdepends, rrecommends, and rsuggests fields’ version. This makes the packages on which the kernel depends to be the same version as the kernel. Version field contains package build number (including git hash) and package revision, thus restricting the kernel and modules to always be built together. The current and default behavior will not change unless the variable "VERSION_KERNEL_MODULES = 1" is defined in the kernel recipe. Ovidiu-Adrian Vancea (3): package_ipk.bbclass: add kernel version to its dependencies package_deb.bbclass: add kernel version to its dependencies package_rpm.bbclass: add kernel version to its dependencies meta/classes/package_deb.bbclass | 10 ++++++++++ meta/classes/package_ipk.bbclass | 9 +++++++++ meta/classes/package_rpm.bbclass | 21 +++++++++++++++++++++ 3 files changed, 40 insertions(+) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
