Results 1 to 4 of 4

Thread: how do i apply patches?

  1. #1
    Senior Member
    Join Date
    Dec 2003
    Posts
    121

    how do i apply patches?

    Ok maybe you will consider me a lamer but i have been searching for a document on how to apply patches and did not find anything yet..i just want to ask how exactly the patch works: Does it change sth in the source of the kernel (so i will have to recompile it) or somewher else? And what are the exact steps? I did the apply patch command but it had some problems .the process was stopping all the time (at many different lines )saying:
    Can't find file to patch at input line 4
    Perhaps you used the wrong -p or --strip option ?
    The text leading up to this was :
    -----------------------------------------------------------------------------
    | diff -urN linux-2.4.20/COPYING linux-2.4.21/COPYING
    | - - - linux-2.4.20/COPYING *date
    | +++ linux-2.4.21/COPYING *date
    -----------------------------------------------------------------------------

    What does this mean???? (i used the -p1 option but i am not quite sure i did well) RTFM?
    Is that the place where I am supposed to say sth clever and brilliant so that everybody understands how clever nice guy I am????
    Screw you guys I am going home!-Kartman

  2. #2
    Senior Member
    Join Date
    Dec 2003
    Posts
    121
    Pls somebody answer????
    I will repeat what is the exact output
    linux:/usr/src # can't find file to patch at input line 4
    > Perhaps you used the wrong -p or --strip option?
    > The text leading up to this was:
    > --------------------------
    > |diff -urN linux-2.4.20/CREDITS linux-2.4.21/CREDITS
    > |--- linux-2.4.20/CREDITS 2002-11-28 15:53:08.000000000 -0800
    > |+++ linux-2.4.21/CREDITS 2003-06-13 07:51:29.000000000 -0700
    > --------------------------
    file to patch:
    Can anybody tell me what to do????
    Is that the place where I am supposed to say sth clever and brilliant so that everybody understands how clever nice guy I am????
    Screw you guys I am going home!-Kartman

  3. #3
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,323
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  4. #4
    Senior Member
    Join Date
    Dec 2003
    Posts
    121
    I have already searched the web and have already read the first paper you recommended...i have even found another forum (in another site ) where another guy had the same problem but i did not find even there what i wanted.... i also tried the patch-kernel script but when i type it it says: current kernel version is 2.4.20
    I then used the linux and /usr/src parameters (to define source and patch location) ant it shows the help info....
    So i think i did everything i could (or not?).....can you help me???
    Is that the place where I am supposed to say sth clever and brilliant so that everybody understands how clever nice guy I am????
    Screw you guys I am going home!-Kartman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •