[PlanetCCRMA] Recompile kernel from src rpm

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Tue Nov 30 10:55:01 2004


On Tue, 2004-11-30 at 06:34, Peter Lutek wrote:
> On Mon, 2004-11-29 at 20:37, Fernando Lopez-Lezcano wrote:
> > On Mon, 2004-11-29 at 17:33, Peter Lutek wrote:
> > > >   rpmbuild -bp kernel-xxx.spec 
> > > 
> > > yeilds:
> > > 
> > > error: Architecture is not included: i386
> > 
> > then:
> >   rpmbuild -bp --target i686 kernel-xxx.spec
> > (or i585)
> > 
> if i'm compiling for a Pentium M, what is the best target to use?

I'm not sure. Look at the architecture that the system installed:
  rpm -q --qf "%{NAME}  %{ARCH}\n" kernel-xyz
where xyz is the version you are running. 
Use that.
-- Fernando