On Tue, 2006-02-28 at 09:50 +0900, Gowri Satish Adimulam wrote:
Hi ,
I would like use kernel source for both adding drivers are well as
configuring kernel.( porting for small embedded system)
Here i see one more problem , i have followed your below mentioned
steps.
kernel sources got updated, but when i try a command like rpm -qa | grep
kernel-source " nothing has been returned .
i have a doubt whether kernel sources were really downloaded or not .
Below i have pasted the messages from yum
message-----------------------------------------------
yum install yum-utils
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B
00:00
extras 100% |=========================| 1.1 kB
00:00
base 100% |=========================| 1.1 kB
00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 436 kB
00:03
updates-re: ################################################## 1172/1172
Added 10 new packages, deleted 0 old in 1.70 seconds
primary.xml.gz 100% |=========================| 1.1 MB
00:04
extras : ################################################## 3149/3149
Added 82 new packages, deleted 54 old in 4.01 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for yum-utils to pack into transaction set.
yum-utils-0.3.1-1.fc4.noa 100% |=========================| 2.9 kB
00:00
---> Package yum-utils.noarch 0:0.3.1-1.fc4 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository
Size
=============================================================================
Installing:
yum-utils noarch 0.3.1-1.fc4 extras
19 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 19 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): yum-utils-0.3.1-1. 100% |=========================| 19 kB
00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: yum-utils #########################
[1/1]
Installed: yum-utils.noarch 0:0.3.1-1.fc4
Complete!
yumdownloader --source kernel
kernel-2.6.11-1.1369_FC4. 100% |=========================| 41 MB
05:07
This last step should have resulted in a file
kernel-2.6.11-1.1369_FC4.src.rpm in the directory you ran it from. That
package contains the full kernel sources.
It's a source RPM package, so installing it just unpacks it into your
RPM build environment and will not affect the RPM database at all, hence
it won't show in "rpm -qa".
A guide to tweaking the kernel package can be found at:
http://oak.cats.ohiou.edu/~hobbsk/kernel-compilation-tutorial-en/steps.html
Paul.