[ILUG] Patching a kernel
paulj at alphyra.ie
Tue Nov 13 13:42:36 GMT 2001
On Tue, 13 Nov 2001, Richard Eibrand wrote:
> - Apply the patch, but immediately after wards apply the patch for
apply but dont use.
> What does tha mean?
means the relative paths are wrong.
run patch from inside the linux src dir, and give it the -p1
foocat patchfile.foo | patch -p1 --dry-run
if no errors, run previous command again, but without the --dry-run
even easier, if you look in .../src/linux/scripts there's a script
called "patch-kernel", which will do all the hard work for you. just
point it at your linux tree, and at a directory containing your
patches. see the top of the script for precise usage instructions.
More information about the ILUG