Sam Folk-Williams wrote:
Hi,
I (with DaveJ) help maintain the kernel release notes for Fedora. A user suggested a
while back that we remove the building instructions from the release notes and
put those in a separate doc devoted to more detailed instructions on building
the kernel RPM (including applying patches and configuring options).
I've got a draft doc now. I come to this from a support perspective - building
kernels with patches I get from Engineering to pass on for testing. I'd like to
get the point of view of some kernel developers as well.
- Is what's here correct?
- Is there more that should be here?
- Does the info here conform to best practices?
Any feedback appreciated. I am happy to make edits myself if you reply, or of
course any one can make edits on their own.
http://fedoraproject.org/wiki/Docs/Drafts/CustomKernel
When copying the kernel tree, the second copy should be:
cp -alv ~/rpmbuild/redhat/kernel-2.6.x.orig ~/rpmbuild/redhat/kernel-2.6.x.new
this will hardlink the original and new trees so diff will run much faster.
Hardlinks should not present a problem because text editors know how to break
them -- Midnight Commander now asks, so maybe a note telling people about
the hardlinks could be added there as well.