Hi,
I've built customs kernels from the SRPMs with the following:
rpmbuild -bp --target=i686 /path/to/spec cd /usr/src ln -s /usr/src/redhat/BUILD/kernel-x.y.z/linux-x.y.z linux cd linux make oldconfig make menuconfig make all make modules make modules_install
And it works just fine. The problem now is that I think installing that way isn't "cool": I wan to build my own custom kernel RPM/SRPM.
I thought about doing a "rpmbuild -bp" and change the options. Then a "rpmbuild -bc --short-circuit" and a "rpmbuild -bi --short-circuit".
What's the correct way of doing this?
Thanks in advance,