Updating FC2 with FC4 kernel sources

Kevin Kofler kevin.kofler at chello.at
Thu Jan 5 21:12:57 UTC 2006


Mark Haney <mhaney <at> ercbroadband.org> writes: 
> Are there any gotchas to taking the FC4 latest kernel SRPMS and building  
> a binary RPM with them on FC2? 
 
You have to edit the specfile a bit: 
* remove the redhat-rpm-config BuildRequires 
* remove or downgrade the gcc and binutils BuildRequires 
* downgrade the mkinitrd requirement to at most mkinitrd >= 3.5.22-1 
* remove the --package foo argument to all the /sbin/new-kernel-pkg calls  
because the FC2 mkinitrd doesn't want it. Rebuilding the FC4 mkinitrd isn't  
an option for various reasons, for example it wants udev. 
If you want/need to use wireless-tools, you have to rebuild that too (from the  
FC4 update SRPM, doesn't need any changes) or you'll get wireless extension  
version mismatch warnings. 
alsa doesn't seem to be a problem. 
 
However, you should have a good reason for upgrading the kernel without the  
rest of the distribution. 
 
Also don't forget that the FC4 kernels follow the new kernel/kernel-devel  
arrangement, there's no kernel-source or kernel-sourcecode package anymore,  
you should build modules against kernel-devel now, not against the full  
kernel source code (which was never really supported). 
 
        Kevin Kofler 




More information about the fedora-list mailing list