On 11 Oct 2001, Jason L Tibbitts III wrote:
> Does anyone have any advice on how to make kernel RPMS out of more recent
> Linus or -ac kernels? The spec file is extremely complicated (two thousand
> lines) and full of things that I do not need, so I was hoping to find a
> simplified spec file that I could build up from, instead of trying to work
> down from Red Hat's spec files.
If you are using the -ac kernels, you can do
./scripts/mkspec >kernel.spec
to generate a spec file which you can use. There's even a "make rpm"
but that builds a tarball and then invokes "rpm -ta" so you'll need a
lot of disk space :o)
> What I don't yet understand is Red Hat's spec file, so I was hoping for
> either some guidance or a simplified spec file. I can build kernels just
> fine, but I was trying to do it the "Red Hat way" for the sake of
> maintainability, since I need to apply these kernels to multiple machines
> (if they actually solve my problems).
It is rather long ...
What I tend to do is whittle them down slowly by e.g. removing stuff
that is specific to another platform, or stuff I know won't affect me
(at the moment) until the spec file looks manageably small.
> - J<
--
Bill Crawford, Unix Systems Developer, GTS Netcom
work: [EMAIL PROTECTED], home: [EMAIL PROTECTED]
if (! (awake & TASK_RUNNABLE))
return -ENOCAFFEINE;
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list