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