Thread (3 messages) flat view 3 messages, 2 authors, 2011-08-24

Error Building Fedora Kernel - problem in applying patch

From: Vaibhav Jain <hidden>
Date: 2011-08-24 21:23:20

On Wed, Aug 24, 2011 at 1:59 PM, Anuz Pratap Singh Tomar <
chambilkethhIakur@gmail.com> wrote:

 On Wed, Aug 24, 2011 at 9:46 PM, Vaibhav Jain [off-list ref] wrote:
quoted
Hi,

I am trying to build fedora 15 kernel (2.6.39) on a fedora 15 machine
(2.6.38.8.-25.fc15.i686.PAE).
I am following the document :
http://fedoraproject.org/wiki/Building_a_custom_kernel
I made a few changes to the source code (only prink statements) and
generated a patch as given in the doc by the name *
linux-2.6-my-new-patch.patch*.
I added the following lines to the spec file  at the appropriate places:
  *Patch 20005:  linux-2.6-my-new-patch.patch*
*  ApplyPatch   linux-2.6-my-new-patch.patch*

But as soon as I build the kernel I get the error :

*ERROR: Patch linux-2.6-my-new-patch.patch not listed as a source patch
in spec file*
*error: Bad exit status from /var/tmp/rpm-tmp/t07KDk (%prep)*
**
There is your error message, which states that it cannot find the patch,
possibly the files are not in correct directory(or the permission issue)
Did you check the location of patch and spec file? are the files in correct
directories?
BTW, a better place for this question would have been #fedora channel on
irc.freenode.net.

quoted
 *RPM build error: *
*        Bad exit status from /var/tmp/rpm-tmp/t07KDk (%prep)*


I am doing everything according to the doc. Please let me know what could
have gone wrong.

Thanks
Vaibhav Jain




_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Hi,

I have followed the instructions in the doc as is. The patch file is in
rpmbuild/SOURCES directory. I haven't changed the location of anyother file.
Don't know what to do. :(

Thanks
Vaibhav Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110824/2072d292/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help