Re: Building a kernel-source RPM (not a kernel RPM)?

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

 



On Wed, 2007-09-12 at 19:51 +0200, Sam Ravnborg wrote:
> On Wed, Sep 12, 2007 at 07:11:21PM +0200, Bernd Petrovitsch wrote:
> > On Wed, 2007-09-12 at 19:05 +0200, Sam Ravnborg wrote:
> > [....]
> > > Being rpm ignorant I do not know what the expected content of a kernel-source RPM
> > > are but this is the available targets for kernel packaging (from make help):
> > 
> > The kernel-source including all patches and configured as usually to be
> > found under
> > /usr/src/linux-$VERSION (or so). One needs that for e.g. external
> > modules.
> For external modules you need a fully build kernel which may be 
> clean up by "make clean".
> Thats not the same as a source RPM as per my understanding.

Yes, if "source RPM" means files named like "kernel-$VERSION.src.rpm".

But we are talking[0] about a kernel-source-$VERSION.$ARCH.rpm's which
contain
the kernel sources (read: lots of .c and .h files, etc.) - including a
matching
.config and after `make oldconfig` - so that one can build out-of-tree
modules
after installing it with "KSRC=" (or whatever the Makefile parameter is
usually called).
And such kernel-source-$VERSION.$ARCH.rpm's may/will/should fall also
out
of a rebuild of a kernel-$VERSION.src.rpm.

	Bernd

[0]: And Dan pointed it out explicitly right at the start BTW.
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux