[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: HOWTO: spec files for kernel modules?
- From: Jos Vos <jos xos nl>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: HOWTO: spec files for kernel modules?
- Date: Fri, 20 Apr 2007 20:32:10 +0200
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 xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]