Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using patch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
filter69
Guest





PostPosted: Mon Apr 29, 2002 6:00 am    Post subject: using patch Reply with quote

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





PostPosted: Mon Apr 29, 2002 6:12 am    Post subject: sorry im a moron Reply with quote

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





PostPosted: Mon Apr 29, 2002 1:53 pm    Post subject: Reply with quote

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
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Mon Apr 29, 2002 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum