Maarten Vanraes schrieb:
I've installed the .src.rpm on my system, wanting to replace the
kernel with my version, but i don't really understand how this
.src.rpm comes to effect.
do you always start from the kernel .1 version with the patchsets from
the others?
why does the spec file contain %use_patch 0 ?
thanks for the help in advance,
First, a src.rpm is a Source RPM meaning it has to be rebuilt on your
machine to produce a binary RPM which you can install, replacing your
kernel (or whatever).
And that use_patch-macro can be (mis-)used to patch the kernel easily or
to apply a RC-patchset, but you should pay attention to what you're
changing. If you don't have experience in building rpms or even know how
to rebuild them, then a MUST for you would be to read these:
http://qa.mandriva.com/twiki/bin/view/Main/RpmHowTo
http://qa.mandriva.com/twiki/bin/view/Main/RpmHowToAdvanced
On the process of kernel building, simply put mandriva takes a
kernel.org tarball, extracts it and applies a big set of patches (like
the file 2.6.17-q5.tar.bz2 you mentioned and extracted your ahci patches
from)
Hope i could help a bit to clarify things