Why kernel source is not in Distribution that is installed

Casimiro de Almeida Barreto casimiro_barreto at uol.com.br
Wed Nov 10 03:14:55 UTC 2004


Besides that, if you:

rpm -ivh ...

and then cd /usr/src/redhat/SOURCES

you will find a linux-2.6.9.tar.bz2 and a lot of patches. So you do a
tar -xjvf to the stuff and then cd linux-2.6.9 and apply the
corresponding patches... after that a cp /boot/config-2.6.9-xxx .config,
make gconfig, configure the stuff (hopefully just including needed
modules), make bzImage && make modules && make modules_install and
Bang !!! it does not compile (as in linux-2.6.9-1.667). Then you have
some bit-brushing work to put things together...

In my opinion, there's no problem if kernel sources are placed in the
SRPM repositories, but:

a) Why not install in /usr/src/linux-2.6.9-xxx ?
b) Why not have the patches already applied ?
c) It should compile cleanly...

Regards,

Casimiro

Em Ter, 2004-11-09 às 16:39 -0600, Otto Haliburton escreveu:

> > -----Original Message-----
> > From: fedora-devel-list-bounces at redhat.com [mailto:fedora-devel-list-
> > bounces at redhat.com] On Behalf Of Alexander Dalloz
> > Sent: Tuesday, November 09, 2004 4:16 PM
> > To: Development discussions related to Fedora Core
> > Subject: Re: Why kernel source is not in Distribution that is installed
> > 
> > Am Di, den 09.11.2004 schrieb Otto Haliburton um 23:00:
> > 
> > > Does anyone know why the kernel source is not installed in Fedora Core
> > > distribution.  It is necessary in a lot of cases to have to rebuild the
> > > kernel but the source is purposely left out of the installation.
> > 
> > Please do not 'hijack' a foreign thread by replying to an unrelated list
> > posting like you did.
> > 
> > Then please check the list archive for the discussion. The kernel source
> > is available as a SRC.RPM. See the FC3 release notes for more help too.
> > 
> > Alexander
> > 
> > 
> I don't know what you mean by 'hijack' that is besides the point.  The
> discussion that I am trying to bring up has to do with an issue that often
> is comes as a complaint.  The RPM does not install the source in the correct
> location from the src.rpm and quite often the first thing that is required
> in a upgrade or installation is to rebuild the kernel.  The issue is one
> about Fedora core by the way as stated in the question.  I wish that
> responses are to the question asked and if you need a clarification state
> that.  There was no reply on the response I sent.
> 
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20041110/308bec26/attachment.htm>


More information about the fedora-devel-list mailing list