[PATCH] add --copyin and --copyout to mock.

Jesse Keating jkeating at redhat.com
Thu Dec 13 21:03:21 UTC 2007


On Thu, 13 Dec 2007 14:52:07 -0600
Clark Williams <williams at redhat.com> wrote:

> Usage:
> 
> 	mock -r <config> --copyin foo bar baz /tmp
> 
> copies the files foo, bar and baz to the chroot /tmp directory for
> <config>
> 
> 	mock -r <config>
> --copyout /tmp/result.txt /opt/mydir/something ./results
> 
> copies the files <chroot>/tmp/result.txt and
> <chroot>/opt/mydir/something into the local dir ./results.

Ooh, this is pretty cool.  It can make some things easier.  What if you
pass it a directory instead of a file?

-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-buildsys-list/attachments/20071213/7c5b7472/attachment.sig>


More information about the Fedora-buildsys-list mailing list