Previous Section  < Day Day Up >  Next Section

Recipe 10.9. Removing a Kernel Patch

10.9.1 Problem

You applied a patch, and now you want to get rid of it. It may be unstable or buggy, or maybe you simply made a mistake and want to start over.

10.9.2 Solution

Use the same command you used to unpack and apply it, adding the -R option:

$ bzip2 -dc ../patch-2.6.4.bz2 | patch -s -p1 -R

10.9.3 See Also

    Previous Section  < Day Day Up >  Next Section