[long rant about patch snipped]
Get a clue, Albert.
I've followed the kernel-tree since v2.0.30 or so (no, I'm not
one of those that began hacking with the 0.01-kernels), and almost
every pre-patch, test-patch and ac-patch ever released. I've even
followed some of the other private trees, such as the aa-patches,
Solar Designer's ow-patches and a few others. I've so far experienced
NO problems whatsoever.
Due to the fact that I tend to do quite some bug-testing inside my
tree, I start afresh from a tarball every 10 to 20 major releases
(sometimes more often), which could be regarded as cheating, of course.
But just to give you a helping hand, here's a small primer.
Applying a patch:
cd linux # name of kernel-tree
# If you have an unzipped patch
cat ../patches/patch-name | patch -p1 --dry-run
# If everything goes fine
cat ../patches/patch-name | patch -p1
# If you have a gzipped patch
zcat ../patches/patch-name.gz | patch -p1 --dry-run
# If everything goes fine
zcat ../patches/patch-name.gz | patch -p1
# If you have a bz2zipped patch
bzcat ../patches/patch-name.bz2 | patch -p1 --dry-run
# If everything goes fine
bzcat ../patches/patch-name.bz2 | patch -p1
This goes both for applying pre-patches, ac-patches and normal,
version-to-version patches.
Before applying a patch, make sure that you've unapplied
all pre-patches, ac-patches etc.
This is done using the same syntax, but with a -R tacked onto it.
When creating a patch from two kernel-trees, use
diff -u --recursive --new-file linux-old linux-new > [name-of-patch]
or, for single files simply
diff -u old-file [new-file with full path] > [name-of-patch]
Some of this might not be fully correct, but most of it should be.
/David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/