Re: unable to use mock

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

 



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.

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux