I am having Ubuntu 12.04 installed on my PC.
heena@heena:~$ uname -r 3.8.0-29-generic
heena@heena:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.3 LTS Release: 12.04 Codename: precise
Following suggestions from How do I get the kernel source code? I am issuing the following command to get the source code of the kernel:
git clone git //kernel.ubuntu.com/ubuntu/ubuntu-precise.git
But my doubt is how does the above command know I have to download the kernel version
? The above command is not having such version? Is this command for downloading just kernel or the whole ubuntu? I am interested only in kernel. Also in which folder the source is being downloaded, that is also not clear to me.
To be precise my doubts will be cleared if someone can help me know:
Which version of kernel will be downloaded from the above command ?