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

Re: What are kernel patches for?



Am Tue, 23 Jun 2009 16:31:51 -0600
schrieb lee <lee@yun.yagibdah.de>:

> On Tue, Jun 23, 2009 at 10:09:22PM +0200, Sven Joachim wrote:
> > No, it is as Kumar said. And you don't have to download the full
> > source if you have 2.6.29 already.  With your proposal, you would
> > need 2.6.29, _every_ patch-2.6.29.y and apply them consecutively --
> > this becomes rather tedious if y is large.
> 
> PS:
> 
> Now I'm confused. Which source am I supposed to patch to get 2.6.30?
> 2.6.0? 2.6.29? Which source will I be supposed to patch if there is a
> 2.6.30.1 at some time, the 2.6.29 or the 2.6.30?

You can download 2.6.30 directly:
http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.tar.bz2

If you want to patch your 2.6.29 sources, use this:
http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.30.bz2

> You can also download a patch-2.6.0 ... So how do you know to what
> version a patch can be applied if patches aren't supposed to be
> applied to the previous version?

The x.y.z.a patches are applied to the previous x.y.z sources. The only
difference are new x.y.z patches. They are applied to x.y.z-1 sources.

> Maybe I should download 2.6.0 and apply patch-2.6.30 to that? But then
> again, what if they make a 2.6.30.1? Apply that to 2.6.0 or to 2.6.30?

No. Either patch 2.6.29 with patch-2.6.30 or directly download 2.6.30.
On the kernel.org website you have to click the 'F' link to get the
full sources instead of patches. If they make 2.6.30.1 (they probably
will), you need to patch 2.6.30 sources with the 2.6.30.1 patch. It's
very easy...

Andreas

Attachment: signature.asc
Description: PGP signature


Reply to: