RE: EL4 ES kernel recompile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ed

Thanks for your info. I will give that a try later in the week. For today,
paperwork calls. :(

Cheers
Dave
 

-----Original Message-----
From: Ed Greshko [mailto:Ed.Greshko@xxxxxxxxxxx] 
Sent: Tuesday, 10 May 2005 9:54 a.m.
To: General Red Hat Linux discussion list
Subject: Re: EL4 ES kernel recompile



Dave Francis wrote:
> Hi Murthy
> 
> Thanks heaps for that. I tried the rpmbuild of the kernel like you 
> said, but that failed. (output below).
> The question is do I have to be more specific in my rpmbuild command, 
> because of the other kernels that are installed?
> The kernel I am running is the kernel-2.6.9-5.0.5.EL. I saw somewhere 
> that the rpmbuild command uses the last listing in the rpm -q command??

FWIW, I have rebuilt the RHELv4 kernels using the following procedure.

1.  Created a ~/.rpmmacros file with a single entry for %_topdir pointing to
a directory in my user space and created the directory structures as in
/usr/src/redhat.

2.  Installed the most recent kernel src.rpm.  (Installs in %_topdir as
noted above.)

3.  Edit the appropriate config file in SOURCES.  In my case it tends to be
kernel-2.6.9-i686-smp.config....but I may also edit kernel-2.6.9-i686.config
to get the UP rpm.

4.  From my ~ directory run "rpmbuild -ba --target i686
~/$%_topdir/SPECS/kernel-2.6.spec

Then wait a bit.  Assuming my changes to the config files were "appropriate"
everything builds and I have the rpm needed.

Regards,
Ed

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

ATTENTION:  The information contained in this message and/or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. Thank you.
DISCLAIMER: To the maximum extent permitted by law, the sender and/or any related party is not liable (including in respect of negligence) for viruses or other defects or for changes made to this email or to any attachments. Before opening or using attachments, check them for viruses and other effects.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux