proposed mock changes (diff)
Jesse Keating
jkeating at j2solutions.net
Mon Jul 17 23:20:07 UTC 2006
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20060717/6c4c74b2/attachment.bin
More information about the buildsys
mailing list