Solved

install new kernel with new patch

Posted on 2004-10-14
5
242 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 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