<br><br><div class="gmail_quote">On Wed, Aug 24, 2011 at 9:46 PM, Vaibhav Jain <span dir="ltr"><<a href="mailto:vjoss197@gmail.com">vjoss197@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hi,</div>
<div> </div>
<div>I am trying to build fedora 15 kernel (2.6.39) on a fedora 15 machine (2.6.38.8.-25.fc15.i686.PAE). </div>
<div>I am following the document : <a href="http://fedoraproject.org/wiki/Building_a_custom_kernel" target="_blank">http://fedoraproject.org/wiki/Building_a_custom_kernel</a></div>
<div>I made a few changes to the source code (only prink statements) and generated a patch as given in the doc by the name <b>linux-2.6-my-new-patch.patch</b>.</div>
<div>I added the following lines to the spec file at the appropriate places:</div>
<div> <b>Patch 20005: linux-2.6-my-new-patch.patch</b></div>
<div><b> ApplyPatch linux-2.6-my-new-patch.patch</b></div>
<div> </div>
<div>But as soon as I build the kernel I get the error : </div>
<div> </div>
<div><b>ERROR: Patch linux-2.6-my-new-patch.patch not listed as a source patch in spec file</b></div>
<div><b>error: Bad exit status from /var/tmp/rpm-tmp/t07KDk (%prep)</b></div>
<div><b></b> </div></blockquote><div>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)<br>Did you check the location of patch and spec file? are the files in correct directories?<br>
BTW, a better place for this question would have been #fedora channel on <a href="http://irc.freenode.net">irc.freenode.net</a>.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><b>RPM build error: </b></div>
<div><b> Bad exit status from /var/tmp/rpm-tmp/t07KDk (%prep)</b></div>
<div> </div>
<div> </div>
<div>I am doing everything according to the doc. Please let me know what could have gone wrong.</div>
<div> </div>
<div>Thanks</div>
<div>Vaibhav Jain</div><font color="#888888">
<div> </div>
<div> </div>
<div> </div>
</font><br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br>