Installing kernel-<version>.src.rpm under my own build root

Kenny Gow kgfedora at swbell.net
Tue Jan 10 01:03:27 UTC 2006


Robert L Cochran wrote:
> I have this kernel file downloaded to ~
> [rlc at bobcp4 ~]$ ls -al kernel*
> -rw-rw-r--  1 rlc rlc 40523094 Jan  9 18:53 
> kernel-2.6.14-1.1656_FC4.src.rpm
> 
> Which I want to install in the rpm build root in my home directory (so 
> it is not in /usr/src/redhat/SOURCES):
> 
> drwxrwxr-x   7 rlc  rlc       4096 Jan  5 00:36 rpmbuild
> -rw-rw-r--   1 rlc  rlc        135 Jan  5 00:36 .rpmmacros
> 
> For a kernel build, does doing this make sense? Or should I be 
> installing to /usr/src/redhat/SOURCES and /usr/src/redhat/SPECS?
> 
> Thanks
> 
> Bob Cochran
> 
install fedora-rpmdevtools from fedora extras, then run 
fedora-buildrpmtree

more info:  http://fedoraproject.org/wiki/fedora-rpmdevtools

--Kenny




More information about the users mailing list