ransh
ransh

Reputation: 1702

How should I create a patch from a git tree?

I have the following git for KDGB: [http://git.kernel.org/cgit/linux/kernel/git/jwessel/kgdb.git/refs/tags][1], each tag it the git as a complete linux source (not just a diff), while I actually need just to apply a diff to my kernel (2.6.37 #4).

Can anyone please explain what is the process of applying a patch from such git to kernel, i.e. what should I do ?

Another thing I would like to ask: is version 2.6.37 #4 (string I get from uname -a) means that I should use patch 2.6.37 or 2.6.37-rc4 ?

Best Regards, Ran

Upvotes: 0

Views: 60

Answers (1)

ch2500
ch2500

Reputation: 240

git format-patch can be used to make patches from git source trees.

Although I don't see a kgdb tag matching your kernel version.

For your second question, '2.6.37 #4' refers to the fourth local compile of kernel version 2.6.37.

Upvotes: 1

Related Questions