Which repository to clone ?

Amit Kumar free.amit.kumar at gmail.com
Wed Feb 1 18:47:08 EST 2017


On Thu, Feb 02, 2017 at 03:39:18AM +0530, srishti sharma wrote:
> Hey,
> I am an absolute newbie , I tried to clone greg kroah-hartman's
> staging tree repository , somehow I was not able to boot in the kernel
> I built .
> 
> Also, Does this command below give me the latest kernel code ?
> 
> I have tried to clone another repository using the command below
> 
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 
> 
> while building with this , I had to install gcc plugin-dev . I don't
> understand why ?
> I didn't have to do it last time I built the kernel
You may use this link,
https://www.kernel.org/doc/man-pages/linux-next.html
In summary, first you clone main upstream tree then add linux-next tree.
Whenever you want to create a patch, create a topic branch from the
latest next-* tag.

Regards,
Amit Kumar
> 
> Regards
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



More information about the Kernelnewbies mailing list