On Monday 17 July 2006 19:02, Clark Williams wrote: > $ mock -r fedora-5-i386-core init > $ yum --installroot=/var/lib/mock/fedora-5-i386-core/root > --enablerepo=<my FC5 repo> install <my packages> > $ mock -r fedora-5-i386-core chroot <my test command> > > I probably don't have that yum command right, but you should get my > intent. Is that the way you use it?
Yes, that's how we run buildinstall for Fedora tree spinning. mock -r dist-fc6 init mockhelper yum --installroot=/var/lib/mock/dist-fc6-<reponumber>/root anaconda-runtime mock -r dist-fc6 chroot buildinstall <lots of options here> Of course, in there we have a mount call so that we run buildinstall against an NFS mount and write back out to said NFS mount. -- Jesse Keating RHCE (geek.j2solutions.net) Fedora Legacy Team (www.fedoralegacy.org) GPG Public Key (geek.j2solutions.net/jkeating.j2solutions.pub)
pgpWOn6nCD2SO.pgp
Description: PGP signature
-- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list