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