On 1/20/06, Giacomo <kylnas@...> wrote:
> Sam Moffatt ha scritto:
> > Hunk is a term used with diff/patch. It is the smallest element or
> > change. You would have to do it by hand as the automated tools would
> > fail because of other differences.
> I want to create a patch by hand...=3D)
> I would like to know how...I mean, I know programming, I would like to
> know what parts of kernel are to modify.
Take the most recent/closest coLinux kernel patch (ie 2.6.11 or
2.6.12) and get kernel that you want (for instance 2.6.15), manualy
apply the 2.6.11-co-0.6.3-rc4 patch to the 2.6.15 kernel. IF patch
reports that hunks cannot be applied or that hunks where fuzzy when
applied, verify (by hand) all the related patch segments to what is in
the 'patched' tree, manually fix up any differences, compile, and
test... After you have tested and verify that the patched tree you
have now works as expected, then you get the kernel tree that you
started with (unpatched) and run a diff against it with the patched
tree (after you have cleaned and dist cleaned it) and you have then an
coLinux-patch that you can apply... That's pretty much the process.=20
At least that's what I use when I am porting coLinux patch to new
kernels for coLinux versions.