[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: kernel building from .src.rpm?



On Monday 29 October 2001 04:54, you wrote:
> On Sun, 28 Oct 2001, Chris Rode wrote:
> > rpm -ba --target athlon-redhat-linux kernel-2.4.spec
> >
> > At least I think that should build what you want. :)
>
> Indeed, but if you've already got the src.rpm, then -ba will waste time
> rebuilding it.  Better not to risk corruption of the src.rpm's by using
> '-bb' to only "build binary" packages.

-ba is right if you want a src.rpm you can build as below. You don't really 
have to put the original in the direcory that rpm uses for the one it creates.



> My favored option to building packages, though, is to use --rebuild.  It
> cleans up the spec and sources after it's done.  I usually test the build,
> and then:
> rpm -bs whatever.spec
> rpm --rebuild ../SRPMS/whatever.src.rpm





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]