On Sun, 23 Mar 2008 16:17:06 +0000, Richard W.M. Jones wrote: > On Sun, Mar 23, 2008 at 03:34:29PM +0100, Lubomir Kundrak wrote: > > On Sat, 2008-03-22 at 18:49 +0000, Richard W.M. Jones wrote: > > > I'm sure this must be a common question, but I can't work it out from > > > the man page and various online mock resources. > > > > > > I want to build a 'chain' of packages in mock -- packages A, B and C > > > where after A is built it must be installed because it is a > > > BuildRequires for B, and similarly B must be installed before C is > > > built. None of these packages is in the Fedora verison (8) that I'm > > > using. > > > > What I am doing to achieve this is that I have a script, that adds > > results of mock to a repository. Of course I have to determine the build > > order by hand. > > Could you share this script? I'm still having problems making mock > build and install incrementally at all. AFAIK, the packages must be listed in the repodata for the resolve step to be successful. Installing directly into the guest rpm db is not enough. And when updating the repodata to be used by mock+yum, be sure to disable the metadata_expire value, so updated repos are recognised always. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list