oke, so that's how it should be done.<br>i'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't rpmbuild compiling all kernel rpm'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 <
<a href="mailto:a.badger@gmail.com">a.badger@gmail.com</a>>:</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>> Thanx for the reply but i'm stuck after step 10.<br>> after step 10 it says: "You may then proceed as usual."<br>> and what is that? is that make rpm? or rpmbuild in some special location?<br>
><br>> the notice below step 10 says: "Normally, kernels for Fedora are built<br>> using the rpmbuild utility and a specfile. Your results may vary if<br>> you use the kernel's built-in make rpm target." but that doesn't
<br>> answer the <a href="http://question.to">question.to</a> me it indicates that both make rpm and rpmbuild<br>> are possible.. but than again.. where can i do rpmbuild on the kernel?<br>><br>> That documentation should be expanded with the full guide for making a rpm.
<br>><br>It depends on what you want to do.  Your question seemed to be: How do I<br>get "rpmbuild -ba kernel-2.6.spec" to produce kernel rpms.  The answer<br>is:<br>  rpmbuild -ba --target $(uname -m) kernel-2.6.spec
<br><br>I should have made it clearer in my original reply that the<br>"--target...." 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>> 2007/7/4, Toshio Kuratomi <<a href="mailto:a.badger@gmail.com">a.badger@gmail.com</a>>:<br>> > On Wed, 2007-07-04 at 16:28 +0200, Mark wrote:<br>> > > oke.. now i'm having a little more complex question also about the kernel.
<br>> > > when i do: "rpmbuild -ba kernel-2.6.spec" i get this output within<br>> > > about a minute:<br>> > ><br>> > > Wrote: /usr/src/redhat/SRPMS/kernel-2.6.21-1.3228.fc7.src.rpm
<br>> > > Wrote: /usr/src/redhat/RPMS/i386/kernel-headers-2.6.21-1.3228.fc7.i386.rpm<br>> > ><br>> > > (this was tested with the F7 kernel source but i also tested it with<br>> > > the F8 kernel source. both have the same result as above.. just
<br>> > > another version)<br>> > ><br>> > > and more but that's what i want to know. now when running the rpmbuild<br>> > > line i expected the full kernel to be compiled.. not just the headers
<br>> > > and the source rpm. so the question is: how do i compile the kernel<br>> > > the fedora way?<br>> > ><br>> > > or is this the way how it should be done:<br>> > > <a href="http://www.howtoforge.com/kernel_compilation_fedora">
http://www.howtoforge.com/kernel_compilation_fedora</a> if that's the case<br>> > > i will just follow that tutorial. but this (couldn't find it on the<br>> > > wiki) is important information to get in the fedora wiki.
<br>> > ><br>> > > And the reason why i want to have this new kernel is mainly because<br>> > > iwl (whatever the name was) just the wireless drivers that should be<br>> > > alot more stable in this kernel than in 
2.6.21<br>> > ><br>> ><br>> > This will help you::<br>> > <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>> ><br>> > In your specific case you're missing the --target $(uname -m)<br>> ><br>> > -Toshio<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>> ><br>><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>