View previous topic :: View next topic |
Author |
Message |
filter69 Guest
|
Posted: Mon Apr 29, 2002 6:00 am Post subject: using patch |
|
|
how do you use path to patch a kernel i have never tried this b4
and its turning out to be more than i wanna read
thanks |
|
Back to top |
|
|
filter69 Guest
|
Posted: Mon Apr 29, 2002 6:12 am Post subject: sorry im a moron |
|
|
in my haste and drinking i misspelled patch as path
and changed the whole meaning of the post
i need to patch my kernel and i cant seem to figure it out its killing me
since i really not a newbie to this .....
just never had to use patch b4 heh he |
|
Back to top |
|
|
steveD Guest
|
Posted: Mon Apr 29, 2002 1:53 pm Post subject: |
|
|
1/Copy the patch file to /usr/src/linux (or the the folder containing your linux source).
2/Go to /usr/src/linux
gzip -cd patch-file.gz |patch -p1
OR
bzip2 -cd patch-file.bz2 |patch -p1
(if the patch file is bz2 format). |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Mon Apr 29, 2002 6:21 pm Post subject: |
|
|
The patch you're applying may expect linux to be in a certain directory. For example if you're trying to use the preempt patch for 2.4.19-pre7 it expects the directory to be named 2.4.19-pre7. You can open the patch file in a text editor and the directory name is obvious. |
|
Back to top |
|
|
|