Description of problem: Downloaded src.rpm of 2.6.22.1-33 kernel and I can't figure out how to apply patches to the latest version. I have found patch to 2.6.22.1 but that is the same that was in previous version. So I tried to apply all *.patch file. Some of them apply properly, some give warning, some refer to non-existent files. Either something is wrong with patches or I just don't understand what to do. Version-Release number of selected component (if applicable): 2.6.22.1-33 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
# rpm -ivh kernel-2.6.22.1-33.fc7.src.rpm # cd /usr/src/redhat/SPECS # rpmbuild -bp kernel-2.6.spec Works for me, and is essentially what the build system does. There's some additional info on how to do all this in the Fedora wiki.
http://fedoraproject.org/wiki/Docs/CustomKernel
Yuck! What a mess! patch -p1 < patch-2.6.22.1 make gconfig make su make modules_install make install This is much simpler. Why don't you just include complete patch file into src.rpm?
Not quite sure what you're talking about. We *do* include the complete patch file in the srpm... Patch00 in the 2.6.22.1 kernel srpms is patch-2.6.22.1.bz2. I think you're missing something somewhere.
So what is the difference between 2.6.22.1-27 and 2.6.22.1-33 then?
rpm -qp --changelog kernel-2.6.22.1-33.fc7.src.rpm, and/or diff the specs between the two and/or look at the cvs commit logs. btw, bugzilla is NOT a support forum, its a bug tracking tool, so this really isn't the place for these questions... I'd suggest taking further questions to the fedora-devel-list.