what's happened to the kernel-sourcecode RPM.

Mark Bradbury mark.bradbury at gmail.com
Thu Sep 23 12:08:02 UTC 2004


On Thu, 23 Sep 2004 07:54:52 -0400 (EDT), James Olin Oden
<joden at lee.k12.nc.us> wrote:
> On Wed, 22 Sep 2004, Arjan van de Ven wrote:
> 
> > On Wed, Sep 22, 2004 at 09:29:23PM +0200, Bjorn Andersen wrote:
> > > Hi
> > >
> > > How is it possible to build the Nvidia driver agaist the kernel.src?
> >
> > No.
> >
> > Nor can you build it against kernel-sourcecode for that matter.
> >
> > You can only build against the headers in /lib/modules/`uname `r/build, just
> > like it was the case ever since RHL 7.0.
> > (except that now the cheat of using another location no longer works)
> > 
> Note, this assumes you are building driver for the machine you are running
> on.   If your building drivers for multiple kernels, building them using
> the include directory in a configured kernel source tree instead of having
> to actually have each of the kernels installed is much better.  I have
> built various build tools to support doing this for kernel modules in a
> completely automated way.  So when we update the kernels in our one-off
> wonder distribution we just turn the crank and out pops module rpms for
> all of our modules for each of the kernels in the distribution.
> 
>  > > Why is the kernel-sourcecode left out?
> >
> > because it is redundant and mostly pointless. We don't ship
> > openoffice-source code either, right?
> >
> Actually, its quite usefull in the case above.  I can get to the same
> place with a SRPM, but I have to go through a few extra steps.  What was
> nice about the kernel-source rpm was that it contained the "patched"
> version of the sources with various default redhat configs in the config
> directory.   Use rpm2cpio to plop this down where you want, copy in the
> proper config (or your own), and point your module sources at this kernel
> source tree, and your done.
> 
> Cheers...james
> 
> 
> 
> 
> --
> fedora-test-list mailing list
> fedora-test-list at redhat.com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-test-list
> 

I agree, There has been instuctions on making a kernel source tree on
this list for a while but none that I have seen that makes a
kernel-source-noarch-rpm ,The instructions  seem to say how easy it is
to build a tree in /usr/src/redhat/BUILD .  So if that  is the case
why not have ia sorce rpm 'as we did before' as a  download?

my 2cents





More information about the fedora-test-list mailing list