Re: kernel development & git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 15, 2007 at 09:41:37AM +0200, Ramagudi Naziir wrote:
> Do you recommend me to develop new kernel features against 2.6.20-rc5
> or against 2.6.19.2

2.6.20-rc5, or even against the latest git version.

> (if working against the stable version is prefered, how do i pull it ? I 
> already
> pulled rc5 using git clone git://.../torvalds/linux-2.6.git) ?

2.6.19.2 is not in git (AFAIK), so you can't directly pull it. However,
you can go back to 2.6.19 and apply the 2.6.19.2 patch on top of it:

  git reset --hard v2.6.19
  bzip2 -dc patch-2.6.19.2.bz2 | patch -p1

> And, let's say I've written some new code, and then a new kernel version
> comes out (let's say 2.6.20), and I want to switch to that new version.
> I would just need to do a normal git pull against torvalds/linux-2.6.git ?

Git would indeed try to merge the new code. Have a look at Jeff
Garzik's "Kernel Hackers' Guide to git":

  http://linux.yyz.us/git-howto.html


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux