Red Hat Bugzilla – Bug 249822
Something wrong with patches
Last modified: 2007-11-30 17:12:11 EST
Description of problem:
Downloaded src.rpm of 18.104.22.168-33 kernel and I can't figure out how to apply
patches to the latest version. I have found patch to 22.214.171.124 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):
Steps to Reproduce:
# rpm -ivh kernel-126.96.36.199-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.
Yuck! What a mess!
patch -p1 < patch-188.8.131.52
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 184.108.40.206 kernel srpms is patch-220.127.116.11.bz2. I think you're missing something somewhere.
So what is the difference between 18.104.22.168-27 and 22.214.171.124-33 then?
rpm -qp --changelog kernel-126.96.36.199-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.