<br><br><div><span class="gmail_quote">On 2/13/06, <b class="gmail_sendername">Neil Cherry</b> <<a href="mailto:ncherry@comcast.net">ncherry@comcast.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jeremy Thompson wrote:<br>><br>><br>> On 2/13/06, *Neil Cherry* <<a href="mailto:ncherry@comcast.net">ncherry@comcast.net</a>><br>>     what I did so far:<br>><br>>     wget<br>>     <a href="ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/4/SRPMS/kernel-2.6.15-1.1831_FC4.src.rpm">
ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/4/SRPMS/kernel-2.6.15-1.1831_FC4.src.rpm</a><br>>     rpm -ihv ~/kernel-2.6.15-1.1831_FC4.src.rpm<br>><br>>     # cd ../BUILD/kernel-2.6.12/linux-2.6.12/<br>
><br>>     cd /usr/src/redhat/SPECS<br><br>*** <- Right here (see below)<br><br>>     rpmbuild -bp --target=i686 kernel-2.6.spec<br>>     cd ../BUILD/kernel-2.6.15/linux-2.6.15/<br>>     make xconfig<br>
>     make rpm<br>><br>>     And when it's done I'll do this:<br>><br>>     cd /usr/src/redhat/RPMS/i386/<br>>     rpm -ivh kernel-2.6.15prep-1.i386.rpm<br>>     cd /boot<br>>     mkinitrd initrd-2.6.15-prep.img
 2.6.15-prep<br>><br><br>> You know I wanted to ask this question a few days ago.. thanks for<br>> taking the bullet for me.  This is exactly what I needed.  I have<br>> another question though.  If you needed to patch.  WHere would it go in
<br>> the process?  Where would you issue the 'patch -pl' command?<br><br>Warning: I'm guessing here!<br><br>Actually I got this from the list so thanks goes out to other<br>member of the list. See where I put the note above (***), that's
<br>where I add my patches. First I'd take a look at the kernel-2.6.spec<br>and find the last patch. Just before:<br><br># END OF PATCH DEFINITIONS<br><br>I'd add something like:<br><br>Patch19999: my-patchfile.patch<br><br>
Then a little later in the file:<br><br>#%patch10004 -p1<br><br>%patch199999 -p1<br># END OF PATCH APPLICATIONS</blockquote><div><br>So, instead of issuing a command like - <br><br>Example Only - <br><font><font color="#000000">
<pre>patch -p1 < /usr/src/device-mapper.1.01.05/patches/linux-2.4.28-pre4-devmapper-ioctl.patch<br><br></pre></font></font>You would add it to the spec file to be automatically included when you did the  '<span class="q">
rpmbuild -bp --target=i686 kernel-2.6.spec'<br><br>I might figure all this stuff our after all.....<br><br>JT<br><br><br></span></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Then I'd put my patch file in /usr/src/redhat/SOURCES/ and<br>continue the process. Just make sure that your patch isn't<br>already in there.<br><br>I hope that helps.<br><br>--<br>Linux Home Automation         Neil Cherry       
<a href="mailto:ncherry@linuxha.com">ncherry@linuxha.com</a><br><a href="http://www.linuxha.com/">http://www.linuxha.com/</a>                         Main site<br><a href="http://linuxha.blogspot.com/">http://linuxha.blogspot.com/
</a>                    My HA Blog<br><a href="http://home.comcast.net/~ncherry/">http://home.comcast.net/~ncherry/</a>               Backup site<br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">
fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>