unable to use mock
Paul Howarth
paul at city-fan.org
Mon Jun 5 13:55:40 UTC 2006
cranium2003 wrote:
> i gave
> yum --installroot
> /var/lib/mock/fedora-development-i386-core/root
> groupinstall build-minimal build-base build
>
> and since 20 min its doing nothing neither show any
> error nor any messages.
It will take a long time because it's downloading and installing all the
packages needed for a minimal build environment, and setting it up under
/var/lib/mock/fedora-development-i386/root. It will do this again every
time you run mock, so it's a good idea to have a local mirror or a
decent cache as described on the MockTricks wiki page.
> Also nobody here is talking about where to change
> exactly in /etc/mock/fedora-5-i386-core.cfg OR in
> /var/lib/mock/fedora-development-i386/root/etc/yum.conf
> as chnage in one is not going to propogate in other,
Everything under /var/lib/mock/fedora-development-i386/root will be
blown away and re-creeted every time you run mock with that
configuration, so it's pointless editing anything there. The
/etc/mock/fedora-5-i386-core.cfg file is the one you need to tweak.
> ohh while writing this mail i finally got some output
> from that command and its nothing but its chosen to
> update 140 packages of 116M. so whats that command
> doing exactly? and does that mean when i do
> su - build
> and will give
> mock -r fedora-5-i385-core.cfg foo.src.rpm will give
> me some output and not a error?
It'll do the same download as before, then install all the buildreqs and
their dependencies for foo.src.rpm, then try to rebuild that SRPM.
Paul.
More information about the fedora-extras-list
mailing list