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

Re: unable to use mock



cranium2003 wrote:
Hi,
    I executed yum --installroot
/var/lib/mock/fedora-development-i386-core/root groupinstall build-minimal build-base build
 as root and it takes much time and installed 140
packages. Then i restart system. As mock does takes a
srpm and builds it in a chroot. So i created as root
one SRPM from SPEC file as
rpmbuild -bs foo.spec
then i did
su - build
then i gave
mock -r fedora-5-i386-core.cfg foo.src.rpm and its output is still
init
clean
prep
This may take a while
Error peforming yum command: /usr/sbin/mock-helper yum
--installroot
/var/lib/mock/fedora-development-i386-core/root
groupinstall build build-minimal build-base
ending
done

There's still something wrong with your configuration here. You're using fedora-5-i386-core.cfg yet the root is fedora-development-i386-core. What's in /etc/mock/fedora-5-i386-core.cfg?

Paul.


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