Looking at the problem of yours I am stating following instruction to build the kernel on the computer.
Code:
[user@host SPECS]$ rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2> build-err.log | tee build-out.log
You can also use the following things to do rpmbuild on while doing kernel build.
Code:
--with baseonly
--with xenonly
--without up
--without xen
--without debug
--without debuginfo
--without fips
--without kabichk
For example if you are looking to build a base kernel package then use the following command command on the terminal.
Code:
--with baseonly --without debug --without debuginfo
Let me know if whether it helped you out or not.
Bookmarks