Hey there Rick

Rick wrote:
> OK... I think I just learned something about RPM...
> 
> Do I understand Mr. Slooten correctly? By using RPM with a --rebuild
> option on a SRC.RPM, you'll create a binary build of the SRC RPM??

Please call me Ralph :-) Sounds so formal... Mr. Slooten...

Yes, by doing that you do create your own binaries...


> Hmmm... At the console, rpm --help doesn't even list --rebuild (of course,
> it lists --rebuilddb but that's different). Yet, if I enter rpm --rebuild
> (with no package mentioned) I receive the message:

Maybe "man rpm" will tell you more? Well yes, an example is "rpm 
--rebuild NVIDIA_kernel-1.0-1251.src.rpm" ~ as in "rpm --rebuild <filename>"


> rpmb: no packages files given for rebuild

Correct, you have to specify which file to rebuild.


> This seems to imply that the --rebuild option does, indeed exist. 

Correct..

> So... will this create a binary build RPM from a SRC RPM??

Well, it should do. I do believe you will need the kernel-devel files 
and such to do this though. If it compiles correctly, and ends of saying 
RPM: Created NVIDIA_kernel-1.0-1251.i586.rpm (or whatever)

then you should be able to find the 2 files it's created in 
/usr/src/RPM/RPMS/<whatever architecture you have>/

Good luck, and if you have problems, please just let me / us know...

Greetings
Ralph


-- 
Homepage: http://www.tuxpower.f2s.com/



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

Reply via email to