[CentOS] Re: kernel compile for i586

Johnny Hughes johnny at centos.org
Thu Jun 5 21:53:32 UTC 2008


Jerry Geis wrote:
>>
>> nate wrote:
>> >/ Jerry Geis wrote:
>> />>/ I created a i586 install image with qemu.
>> />>/ I downloaded the SRPMS package for the kernel and installed it.
>> />>/ I cd /usr/src/redhat/SPECS
>> />>/ rpmbuild -bp --target i586 kernelXXX.spec
>> />>/ I does a bunch of things but it did not build a new kernel and 
>> put it in
>> />>/ /boot
>> />>/
>> />>/ I think I am missing a command to actually BUILD the kernel.
>> />>/ What is it?
>> />/ />/ try rpmbuild -bb instead of -bp
>> />/ /
>> And dont forget the patches to make it build on i586 :D
>>   
> What do you mean, I thought specifying the --target would apply the 
> right patches?
> What else do I need?

if this is centos-3 or 4, nothing else is needed.  If it is centos-5, 
that kernel will not build an i586 target

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080605/4fdd6be8/attachment.sig>


More information about the CentOS mailing list