• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

install new kernel with new patch

when i am installing the patch then ask me file to patch ? Which filename should I specify ?

Rajkumar
0
rajkumarbatra
Asked:
rajkumarbatra
1 Solution
 
TRobertsonCommented:
It is probally patching one of the source files.  Open the patch file up in a text editior and you should see the filename within the patch script.
0
 
SunjithCommented:
Try:
--------
patch -p1 < /path/to/patch_file
--------

Most probably, it should find and patch the files properly.
0
 
EinarThCommented:
If you get asked which file to patch while you are running patch, that means you are in the wrong directory when you issue the command. Check the patchfile (it's just a text file) and see what files it's trying to modify, and then make your current working directory so that the paths in the patch files make sense. For example, if the patch file is trying to modify the file 'linux/drivers/usb/net/usbnet.c' then your working directory should be /usr/src/ (and that directory should contain the 'linux' directory.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now