Managing kernel-updates in rpm

parinay parinay at gmail.com
Tue Mar 25 04:39:41 EDT 2014


Saket,

IMO, explore the option of kABI and/or DKMS.

http://people.redhat.com/jcm/el6/dup/docs/dup_book.pdf
http://linux.dell.com/dkms/dkms-ols2004.pdf

HTH


On Tue, Mar 25, 2014 at 12:54 PM, Saket Sinha <saket.sinha89 at gmail.com> wrote:
> 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
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



-- 
easy is right
begin right and you're easy
continue easy and you're right
the right way to go easy is to forget the right way
and forget that the going is easy....



More information about the Kernelnewbies mailing list