Solved

install new kernel with new patch

Posted on 2004-10-14
5
240 Views
Last Modified: 2010-04-20
when i am installing the patch then ask me file to patch ? Which filename should I specify ?

Rajkumar
0
Comment
Question by:rajkumarbatra
5 Comments
 
LVL 3

Expert Comment

by:TRobertson
ID: 12307417
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
 
LVL 2

Expert Comment

by:Sunjith
ID: 12311377
Try:
--------
patch -p1 < /path/to/patch_file
--------

Most probably, it should find and patch the files properly.
0
 
LVL 4

Accepted Solution

by:
EinarTh earned 50 total points
ID: 12317433
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now