Managing kernel-updates in rpm
Saket Sinha
saket.sinha89 at gmail.com
Tue Mar 25 03:24:12 EDT 2014
Hi,
We have a rpm which installs a linux kernel driver. Now this
driver has some kernel-level dependencies especially Development Tools
(kernel-headers etc) such that they depend on running kernel version.
Now in the rpm we provide drivers for different kernel versions since
the user can update the kernel. In the rpm's SPEC file, we match the
running kernel version with our driver for that particular version and
install it.
If the user has updated its kernel to such a version whose driver is
not present in the RPM, the installation fails. We tell user in the
error message to update the kernel to a supported version.
Now this is very cumbersome and we plan to replace it with installing
a yum plugin through our rpm which allows user to update the kernel
level dependencies.
Is this a right approach?
Regards,
Saket Sinha
More information about the Kernelnewbies
mailing list