Dr Jaime V. Miro writes:
> Here is a simple question: I know that to get, for instance,
> linux-2.4.0-test11 patched for Arm I should apply the latest
> 2.4.0-test11-rmkX patch.
Correct.
> Does that mean that if a new test release comes along, i.e.,
> 2.4.0-test13, and I want to upgrade, I should ditch the previous
> release and download linux-2.4.0-test13, right?
That is one way. However. if you keep the original virgin test11
source around, you could download Linus' patches to bring it up to
test12, and then test13. Make a copy of this tree (using cp -a)
and apply the test13-rmk patch.
> And If I am correct, I pressume the move to "prerelease" and "stable" will
> follow the same path, i.e., you have to start from the scratch again.
Yep.
> Furthermore, there is no harm in applying succesive patches as they
> come out, although I am aware that they do not build on previous ones,
> and therefore the latest is enough, am I right?
That is probably a bad thing to do. Again, keep a known-clean tree
around that you know you can use. For instance, I have the following
at all times:
- original Linus tree
- my master ARM tree
- my build trees
This means that when Linus releases a new patch, be it a pre-patch or
not, I can always apply the patch to the Linus' original.
Note however that patch does have a '-R' option to reverse the patch.
This is useful if, say, my original tree was 2.4.1-pre2 and I wanted
to update it to pre3. To do this, I'd:
cd original-tree
zcat pre2.gz | patch -R -p1
zcat pre3.gz | patch -p1
Note that this has the expected result because the original tree is
virgin as far as my changes go.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/ / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.