Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get an specific kernel version to the extraversion digit from git

I have some patches for a specific platform which should apply to kernel version 2.6.32.3. Now that I'm working with git, I already have a clone of the official kernel tree and I'd like to have a private branch for maintaining this patches. When I ask for a list of tags with git tag -l I get this for the 2.6.32 series:

v2.6.32
v2.6.32-rc1
v2.6.32-rc2
v2.6.32-rc3
v2.6.32-rc4
v2.6.32-rc5
v2.6.32-rc6
v2.6.32-rc7
v2.6.32-rc8

On kernel.org's HTTP repository one can get all the specific full source and patch tarballs to the extraversion digit (in my case, the .3 in the end), so how are we supposed to get the same directly through git? Why the tags listed only show "-rcX" for extraversion?

I've searched the web and found people with this same trouble, but they also ended up unanswered.

like image 580
Claudio Avatar asked Jan 16 '23 13:01

Claudio


1 Answers

You probably have a clone of Linus's repo.

Try the linux-stable repo: http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=shortlog;h=refs/tags/v2.6.32.3

The http-git-urls don't work, but the git-url should:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

like image 71
Christoffer Hammarström Avatar answered Jan 19 '23 02:01

Christoffer Hammarström