On Friday, Oct 26, 2001, Franki wrote:

> Then I started wondering if there was an easier way to do that, 
> like rpm --rebuild kernel* (where * is a src rpm).
> 
> I have the headers installed and everything else thats relivent..
> So I downloaded the 29mb kernel src rpm and gave it a shot..
> but that doesn't work. (gives me a no such file or directory error 
> even though the file is there and is not corrupted..)

Are you trying the --rebuild command as root?  By default, RPM does it's
work in /usr/src/RPM/* which as a normal user you don't have write
access to. =)

> do I really have to go through the whole config compiling shebang 
> just to get an i686 or AMD optimised kernel?

And I've never tried this, but it may make an i586 .rpm anyway depending
on how the .spec file for the rpm is written.  Good luck.

-- 
Paul Cox <paul at coxcentral dot com>
Kernel: 2.4.8-31.1mdk  -  Uptime: 1 day 16 hours 27 minutes.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to