Re: Applying rt-patches

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

 



On Thu, Dec 19, 2013 at 09:35:33AM +0100, Ruud Commandeur wrote:
> Hi Everyone,

Hi Ruud,

> I'm using the Linux 3.10.x kernel for a while in an ARM9 embedded
> system. I keep this kernel up-to-date by using incremental patches, with
> 3.10.24 being the last version. I'm thinking of switching to the
> RT-kernel for better real-time behavior, but I have a few questions how
> to do that:
>  
> On a clean 3.10.24 kernel, I assume I should use the
> "patch-3.10.24-rt22.patch" archive (or the "patches-3.10.24-rt22" for a
> collection of single patch files).

Yes, that is correct.

> But what if a 3.10.25 kernel is released? Should I first apply the
> incremental patch for the kernel and then the incremental patch for the
> rt-part? Or should the 3.10.24-rt patch be reverted before applying the
> kernel patch to prevent conflicts?

Hmm, _personally_ I just use git and check out a new stable-branch and then 
apply the corresponding -rtX patch on top of that. Iẗ́'s a pretty big 
hammer, but it removes a lot of potentional snags (me being butterfingered 
an' all :)

If you have a set of local commits you want to carry with you, using the 
broken out rt-patches and 'git quiltimport' lets you quickly get everything 
into a branch.  Then you can cherry-pick the changes you want to add on top 
of that.

At least, this is -my- approach to the matter.

I also know that ro(a)sted keeps a git-repo which he moves forward, so you 
could add your own, local changes to it and just track using 'git pull 
--rebase' or some variant thereof. YMMW and all.
 
> Sorry if the answer to my questions would be somewhere in the Wiki, I
> was not able to find it myself up till now.

I think this is pretty much down to what works best for you, applying the 
incremental patches should probably work too, but I've never tried that 
approach myself. I just use the increments to track changes from one -rtX 
to the next.


-- 
Henrik Austad

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux