Why kernel source is not in Distribution that is installed

Barry K. Nathan barryn at pobox.com
Wed Nov 10 10:50:48 UTC 2004


On Wed, Nov 10, 2004 at 01:14:55AM -0200, Casimiro de Almeida Barreto wrote:
> 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

Looks like you forgot to read the release notes (i.e. it's not working
for you because you're not doing it correctly):

> Change directory to /usr/src/redhat/SPECS/, and issue the following
> command:
> 
> rpmbuild -bp --target=<arch> kernel.spec
> 
> (Where <arch> is the desired target architecture.)
> 
> On a default RPM configuration, the kernel tree will be located in
> /usr/src/redhat/BUILD/.

-Barry K. Nathan <barryn at pobox.com>




More information about the devel mailing list