Using mock to build a chain of packages

Richard W.M. Jones rjones at redhat.com
Tue Mar 25 00:52:36 UTC 2008


On Mon, Mar 24, 2008 at 10:20:26AM -0400, Thomas J. Baker wrote:
> On Mon, 2008-03-24 at 12:22 +0000, Richard W.M. Jones wrote:
> > On Mon, Mar 24, 2008 at 11:53:33AM +0100, Michael Schwendt wrote:
> > > 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.
> > 
> > Any hint about how I do this?
> > 
> > Rich.
> > 
> > -- 
> > Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
> > virt-top is 'top' for virtual machines.  Tiny program with many
> > powerful monitoring features, net stats, disk stats, logging, etc.
> > http://et.redhat.com/~rjones/virt-top
> > 
> 
> You need to modify your /etc/mock/whatever-you-use.cfg file to point to
> a local repository. I've got one like this:
> 
> [mock-updates]
> name=mock-updates
> baseurl=file:///net/home/rcc/tjb/mock-updates/8/x86_64/

Brilliant, that worked - thanks.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the fedora-devel-list mailing list