Re: Building an rpm for a kernel version
From: Dan Track (dan.track_at_gmail.com)
Date: 08/25/05
- Previous message: Franco: "Ext3-fs error - Start_transaction journal has aborted"
- In reply to: Paul Howarth: "Re: Building an rpm for a kernel version"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Aug 2005 09:37:41 +0100 To: For users of Fedora Core releases <fedora-list@redhat.com>
On 8/24/05, Paul Howarth <paul@city-fan.org> wrote:
> Dan Track wrote:
> > Would anyone know what the macro is to define which kernel version is
> > being run. Basically I want to build a module but I need the
> > kernel-source to be the same as the currently installed and running
> > kernel. I put in a "BuildPreReq: kernel-source" entry but it I can't
> > verify whether the currently installed kernel-source version is the
> > same as the currently running kernel version.
>
> It'll be very difficult to do this with any dgree of portability. For
> starters, there is no kernel-source package after FC2 (for FC3 you
> probably just want a "kernel" dep, and for FC4 "kernel-devel"). Second,
> the naming convention for SMP kernel RPMs means that just doing
> something like "BuildRequires: kernel-source-%(uname -r)" won't work for
> people running SMP kernels.
Hi Paul
Thanks for the info that was quite valuable.
Cheers
Dan
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Franco: "Ext3-fs error - Start_transaction journal has aborted"
- In reply to: Paul Howarth: "Re: Building an rpm for a kernel version"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|