oke, so that&#39;s how it should be done.<br>i&#39;m compiling the kernel at this moment.... should take a while.<br>now lets hope that wifi support has been made better and that suspend is working how it should :) <br><br>
But why isn&#39;t rpmbuild compiling all kernel rpm&#39;s if you leave out the --target? than it makes the kernel-headers rpm and a .src.rpm but nothing more.<br><br><div><span class="gmail_quote">2007/7/4, Toshio Kuratomi &lt;
<a href="mailto:a.badger@gmail.com">a.badger@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, 2007-07-04 at 17:52 +0200, Mark wrote:
<br>&gt; Thanx for the reply but i&#39;m stuck after step 10.<br>&gt; after step 10 it says: &quot;You may then proceed as usual.&quot;<br>&gt; and what is that? is that make rpm? or rpmbuild in some special location?<br>
&gt;<br>&gt; the notice below step 10 says: &quot;Normally, kernels for Fedora are built<br>&gt; using the rpmbuild utility and a specfile. Your results may vary if<br>&gt; you use the kernel&#39;s built-in make rpm target.&quot; but that doesn&#39;t
<br>&gt; answer the <a href="http://question.to">question.to</a> me it indicates that both make rpm and rpmbuild<br>&gt; are possible.. but than again.. where can i do rpmbuild on the kernel?<br>&gt;<br>&gt; That documentation should be expanded with the full guide for making a rpm.
<br>&gt;<br>It depends on what you want to do.&nbsp;&nbsp;Your question seemed to be: How do I<br>get &quot;rpmbuild -ba kernel-2.6.spec&quot; to produce kernel rpms.&nbsp;&nbsp;The answer<br>is:<br>&nbsp;&nbsp;rpmbuild -ba --target $(uname -m) kernel-2.6.spec
<br><br>I should have made it clearer in my original reply that the<br>&quot;--target....&quot; was the only thing you needed to get from that page.<br><br>If you want to make modifications to the kernel spec file, then the rest
<br>of that page becomes relevant.<br><br>-Toshio<br><br>&gt; 2007/7/4, Toshio Kuratomi &lt;<a href="mailto:a.badger@gmail.com">a.badger@gmail.com</a>&gt;:<br>&gt; &gt; On Wed, 2007-07-04 at 16:28 +0200, Mark wrote:<br>&gt; &gt; &gt; oke.. now i&#39;m having a little more complex question also about the kernel.
<br>&gt; &gt; &gt; when i do: &quot;rpmbuild -ba kernel-2.6.spec&quot; i get this output within<br>&gt; &gt; &gt; about a minute:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Wrote: /usr/src/redhat/SRPMS/kernel-2.6.21-1.3228.fc7.src.rpm
<br>&gt; &gt; &gt; Wrote: /usr/src/redhat/RPMS/i386/kernel-headers-2.6.21-1.3228.fc7.i386.rpm<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; (this was tested with the F7 kernel source but i also tested it with<br>&gt; &gt; &gt; the F8 kernel source. both have the same result as above.. just
<br>&gt; &gt; &gt; another version)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; and more but that&#39;s what i want to know. now when running the rpmbuild<br>&gt; &gt; &gt; line i expected the full kernel to be compiled.. not just the headers
<br>&gt; &gt; &gt; and the source rpm. so the question is: how do i compile the kernel<br>&gt; &gt; &gt; the fedora way?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; or is this the way how it should be done:<br>&gt; &gt; &gt; <a href="http://www.howtoforge.com/kernel_compilation_fedora">
http://www.howtoforge.com/kernel_compilation_fedora</a> if that&#39;s the case<br>&gt; &gt; &gt; i will just follow that tutorial. but this (couldn&#39;t find it on the<br>&gt; &gt; &gt; wiki) is important information to get in the fedora wiki.
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; And the reason why i want to have this new kernel is mainly because<br>&gt; &gt; &gt; iwl (whatever the name was) just the wireless drivers that should be<br>&gt; &gt; &gt; alot more stable in this kernel than in 
2.6.21<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; This will help you::<br>&gt; &gt; <a href="http://docs.fedoraproject.org/release-notes/fc6/en_US/sn-Kernel.html">http://docs.fedoraproject.org/release-notes/fc6/en_US/sn-Kernel.html
</a><br>&gt; &gt;<br>&gt; &gt; In your specific case you&#39;re missing the --target $(uname -m)<br>&gt; &gt;<br>&gt; &gt; -Toshio<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; fedora-devel-list mailing list<br>&gt; &gt; <a href="mailto:fedora-devel-list@redhat.com">
fedora-devel-list@redhat.com</a><br>&gt; &gt; <a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br><br>--<br>
fedora-devel-list mailing list<br><a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list">https://www.redhat.com/mailman/listinfo/fedora-devel-list
</a><br><br></blockquote></div><br>