Re: Managing kernel-updates in rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
> 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....

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux