Re: patching the kernel

From: Jan-Benedict Glaw (jbglaw@lug-owl.de)
Date: Sun Mar 09 2003 - 16:25:22 EST


On Sun, 2003-03-09 17:11:21 -0500, joe briggs <jbriggs@briggsmedia.com>
wrote in message <200303091711.21652.jbriggs@briggsmedia.com>:
> My apologies for this question that is so basic to all of you, but can any of
> you please point me toward a howto or instructions for exactly how to 'patch
> a kernel'? For example, at kernel.org, the latest stable kernel is 2.4.20,
> and is actually a patch. I currently use 2.4.19 under Debian and routinely
> rebuild & install it no problem. If I download a kernel 'patch', do I apply
> it to the entire directory, or the compiled kernel, etc.? Thanks so much.

        tar xzf .../linux-2.4.19.tar.gz
                -or-
        tar xjf .../linux-2.4.19.tar.bz2

and then apply the patch:

        cd linux-2.4.19
        zcat .../patch-2.4.20.gz | patch -p1
                -or-
        bzcat .../patch-2.4.20.bz2 | patch -p1

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
      ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));


- 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/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:19 EST