Thursday, June 21, 2007

How to install kernel source on RHEL4

http://kbase.redhat.com/faq/FAQ_79_8848.shtm

up2date --get-source kernel

Fetching all package list for channel: rhel-i386-as-4...
########################################

Fetching package list for channel: rhel-i386-as-4...
########################################

kernel-2.6.9-55.EL.src.rpm...

[root@RH4 up2date]# rpm -ivh kernel-2.6.9-55.EL.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[root@RH4 up2date]# mkdir -p /usr/src/redhat/SOURCES
[root@RH4 up2date]#
[root@RH4 up2date]# rpm -ivh kernel-2.6.9-55.EL.src.rpm
1:kernel warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root

0 comments: