On Wed, 2005-01-05 at 13:33 -0600, Satish Balay wrote: > On Wed, 5 Jan 2005, Satish Balay wrote: > > > rpmbuild --rebuild --target=i686 --define 'buildsmp 0' kernel.src.rpm > > Ah.. this won't work - as '%define' in the specfile has precedence > over command line.. The easiest approach (at least for me) is to install the src.rpm. Modify the spec file to build a source rpm. %define buildup 0 %define buildsmp 0 %define buildxen 0 %define buildsource 1 %define builddoc 0 This is a very quick build. Then install your new rpm and you will have the traditional source tree in /usr/src. You can, of course, edit the spec file for kernel options and build an installation rpm but that seems risky. In the alternative (if you feel that you must have an rpm) you can export your configuration file and replace the configs in the spec. Of course, it's even easier just to install the Korg kernel but some view that as heresy. > > Satish ________________________________________________________________________ Total Quality Management - A Commitment to Excellence http://www.TQMcube.com