<br><br>
<div class="gmail_quote">On Wed, Aug 24, 2011 at 1:59 PM, Anuz Pratap Singh Tomar <span dir="ltr"><<a href="mailto:chambilkethhIakur@gmail.com">chambilkethhIakur@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br><br>
<div class="gmail_quote">
<div class="im">On Wed, Aug 24, 2011 at 9:46 PM, Vaibhav Jain <span dir="ltr"><<a href="mailto:vjoss197@gmail.com" target="_blank">vjoss197@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<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>
<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/" target="_blank">irc.freenode.net</a>.<br> <br></div>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">
<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></div>_______________________________________________<br>Kernelnewbies mailing list<br><a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">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></blockquote></div>
<div><br> </div>
<div> </div>
<div>Hi,</div>
<div> </div>
<div>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.</div>
<div>Don't know what to do. :(</div>
<div> </div>
<div>Thanks</div>
<div>Vaibhav Jain</div>