[WBEL-users] How to generate the kernel-source RPM from a homebuilt patchedkernel

Gary Mansell Gary.Mansell@ricardo.com
Wed, 08 Sep 2004 16:05:32 +0100


Hi,

I have downloaded the kernel-2.4.21-15.0.4.EL src RPM, installed it,
added some vm patches, modified the .spec file to include the patches,
built the binary kernel rpm with rpmbuild -bb <patched kernel spec file>
and then installed it onto my host with rpm -ivh <patched kernel rpm>.

The problem that I now have is that I need to compile the NVidia
accelerated graphics driver for this new kernel and the NVidia driver
installation program is complaining that the appropriate kernel source
is not installed.

How do I create the kernel-source rpm for my newly patched kernel? so
that I can upgrade the kernel-source rpm to one that matches the running
kernel? I would like to be able to install it using rpm so that my
machine stays manageable.

Any help gladly received

Best Regards

Gary Mansell 
-- 

This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this e-mail in error please notify the sender immediately
and delete this e-mail from your system.  Please note that any views or opinions
presented in this e-mail are solely those of the author and do not necessarily
represent those of Ricardo (save for reports and other documentation formally
approved and signed for release to the intended recipient).  Only Directors
or Duly Authorised Officers are authorised to enter into legally binding
obligations on behalf of Ricardo unless the obligation is contained within
a Ricardo Purchase Order.

Ricardo may monitor outgoing and incoming e-mails and other telecommunications
on its e-mail and telecommunications systems.  By replying to this e-mail you
give consent to such monitoring.  The recipient should check this e-mail and
any attachments for the presence of viruses.  Ricardo accepts no liability for
any damage caused by any virus transmitted by this e-mail.  "Ricardo" means
Ricardo plc and its subsidiary companies.

Ricardo plc is a public limited company registered in England with registered
number 00222915.
The registered office of Ricardo plc is Bridge Works, Shoreham-by Sea,
West Sussex, BN43 5FG.