[PATCH] Add --chainbuild option.

Andreas Thienemann andreas at bawue.net
Tue Feb 17 12:23:15 UTC 2009


On Tue, 17 Feb 2009, Gianluca Sforna wrote:

> With this patch, mock grows a --chainbuild option (and a Require on
> createrepo).
> 
> The --chainbuild option work by creating a local yum repository in the
> resultdir path which is used during the BuildRequires installation
> step.
> The net result is that, when building more than one srpm in the same
> run, later builds can find required packages built in previous steps.

Is it really worth it including this in mock?

I'm using the same concept here for our in-house builds. But all the logic 
is part of a shellscript which calls mock for both i386 and x86_64 and 
fills a "local" repository with the results.
This is similar to what plague and AFAIK koji do.

Might be worthwile considering that.

regards,
 andreas




More information about the Fedora-buildsys-list mailing list