lkml.org 
[lkml]   [2007]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Building a kernel-source RPM (not a kernel RPM)?
From
Date
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-12 20:13    [W:0.190 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site