OH> On Mon, Jun 05, AlexB wrote:
[quote] f50:/usr/src/packages/SPECS # rpmbuild -bb ./kernel-smp.spec error: Architecture is not included: ppc [unquote]
OH> There is no specific smp .config file. Just use the defconfig.default, OH> enable smp, add ppc to the Exclusivearch line in the specfile. Seems that rpmbuild cannot do a proper build specifically for kernel package on SuSE system (I tried to build iperf from source RPM and everything went fine). It did not find 'stock' kernel archive, so I made one from /usr/src/linux and copied it to /usr/src/packages/SOURCES. Then there was config archive missing mentioned in spec file (I created one manually and copied to SOURCES too), patches and so on: [quote] f50:/usr/src/packages/SPECS # rpmbuild -bb ./kernel-smp.spec error: File /usr/src/packages/SOURCES/patches.arch.tar.bz2: No such file or directory [unquote] To me it seems that kernel build on SuSE system is quite different from, say, Fedora Core; kernel source tree is being unTAR-ed during RPM install of source package, then all patches applied, and rpmbuild expects something else. Any other advice? Possibly there is a procedure to build/install kernel manually, at the same time having system consistent (I mean - kernel installed properly through RPM and dependencies/provisions met) Regards Alex