I attempted (for the first time) to recompile a kernel (to add HPFS support).
I found a step-by-step guide of custom kernel creation on
and attempted to follow it. All went well until the kernel install
command: it failed in requiring the kernel-firmware:
<localhost>.../SPECS>rpm -ivh ~/rpmbuild/RPMS/x86_64/kernel-126.96.36.199-167.hpfs.fc11.x86_64.rpm
error: Failed dependencies:
kernel-firmware >= 188.8.131.52-167.hpfs.fc11 is needed by kernel-184.108.40.206-167.hpfs.fc11.x86_64
After some searching I understand that kernel-firmware is a sourceless
package so I need to somehow to link the firmware files with the kernel,
how can I do it? I did the kernel-creation not a a root, and when I see
what kernel packages are installed on my system I see the firmware too:
<localhost>.../rpmbuild>rpm -qa | grep kernel
Here is an excert from the history of the commands I used
while attempting to re-compile the kernel (with some "ls" removed
108 22:21 uname -m
111 22:28 rpmdev-setuptree
119 22:31 yumdownloader --source kernel
125 22:40 su -c 'yum-builddep kernel-220.127.116.11-167.fc11.x86_64.src.rpm'
126 23:16 su -c 'yum-builddep kernel-18.104.22.168-167.fc11.src.rpm'
127 23:53 su -c 'yum-builddep download/kernel-22.214.171.124-167.fc11.src.rpm'
129 23:55 rpm -Uvh kernel-126.96.36.199-167.fc11.src.rpm
133 23:59 rpmbuild -bp --target=`uname -m` kernel.spec
137 0:03 cd ../BUILD/kernel-2.6.29/linux-2.6.29.x86_64
141 0:07 cp configs/kernel-188.8.131.52-x86_64.config ./config
145 0:08 make oldconfig
146 0:09 make xconfig
149 0:26 uname -i
156 0:30 cp .config ~/rpmbuild/SOURCES/config-x86_64-generic
157 0:30 cd ~/rpmbuild/SPECS
159 0:31 ne kernel.spec & <=== Changed buildid to ".hpfs".
160 0:37 rpmbuild -bb --target=`uname -m` kernel.spec
164 6:23 rpm -ivh ~/rpmbuild/RPMS/x86_64/kernel-184.108.40.206-167.hpfs.fc11.x86_64.rpm
I downloaded the kernel-firmware-220.127.116.11-167.fc11.noarch.rpm package
but I don't know what should I change in the kernel creation process
in order for the kernel-firmware to be used?
Thanks inadvance for any help.