Recipe 10.9. Removing a Kernel Patch

 < Day Day Up > 

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

  • patch(1)

  • Kernel Newbies (http://kernelnewbies.org)

  • Kernel.org (http://kernel.org)

     < Day Day Up > 


    Linux Cookbook
    Linux Cookbook
    ISBN: 0596006403
    EAN: 2147483647
    Year: 2004
    Pages: 434

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net