Re: HOWTO: spec files for kernel modules?

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

 



On Fri, Apr 20, 2007 at 12:50:32PM -0500, Paul Johnson wrote:

> I build kernel modules for the OpenAFS file server and I put them in
> my yum repository.  When yum update runs, it removes the existing
> package "openafs-kernel" and it updates with the new one.  I wish it
> would behave like the kernel module packages that other people
> distribute, such as the nvidia modules from livna, that only install
> the new module without removing the old.  From gazing at the spec
> files, I have not yet found a way to make that happen.  Can you give
> me a pointer?

About what distro are you talking?

See <http://fedoraproject.org/wiki/Packaging/KernelModules> for more
info about Fedora/RHEL (don't know whether this is up-to-date info).
Also look at RH spec files, like RHEL5's gfs-kmod.spec and gnbd-kmod.spec.

I guess the specific problem you describe is probably related to not
having a "Provides: kernel-modes = %{kverrel}" in your spec file
(%{kverrel} should be whatever your macro/expression is that holds
the kernel version/release you're building for).

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux