[ATrpms-users] Re: Kernel request

Axel Thimm Axel.Thimm at atrpms.net
Sun Apr 11 20:50:56 CEST 2004


On Sun, Apr 11, 2004 at 12:18:08PM -0400, Matt Hannan wrote:
> I am trying this out finally because it is becoming a big deal, but I
> have a question on one of your steps.
> 
> o copy the kernel config from the kernel you are interest in from
>   configs/ to .config
> 
> I found the config I want, but I am having a hard time finding the
> location of .config that I am to copy it to.
> 
> I figured it would be in /boot, but I am not seeing it there or anywhere
> else! Yes, "ls -a" ;-) .

The kernel-source rpm unpacks the kernel sources into
/usr/src/linux-2.4.20-30_37.rh9.at, go into that directory (same like
/usr/src/linux-2.4, if you just installed it).

ls config/*config

gives you the available config files.

cp -a config/<...> .config

Replace <...> with the config of your choice.

Then

perl -pi -e's,custom,,' Makefile
make oldconfig
make oldconfig
make dep

Now the kernel sources are ready to be built against.

> 
> From: Axel Thimm [mailto:Axel.Thimm at ATrpms.net] 
> Sent: Friday, March 12, 2004 10:44 AM
> To: Matt Hannan
> Cc: ATrpms user list
> Subject: Re: Kernel request
> 
> 
> There must be something else wrong. The ATrpms kernels certainly have
> loadable module support. I suppose that rivatv could not find your
> kernel sources at all or in the form it needs it, and thus gives you
> some random error.
> 
> Try the following:
> o Install kernel-source of the kernel you want to build against
>   (2.4.20-30_37.rh9.at)
> o Go to /usr/src/linux-2.4
> o Edit Makefile to remove the "custom" saftely pin from the RELEASE
>   variable
> o copy the kernel config from the kernel you are interest in from
>   configs/ to .config
> o Run make oldconfig twice and make dep once
> 

-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20040411/2cfbe7d1/attachment.bin


More information about the atrpms-users mailing list