mock mock.py,1.36,1.37
John Clark Williams (jcwillia)
fedora-extras-commits at redhat.com
Wed Mar 15 22:14:59 UTC 2006
- Previous message (by thread): rpms/wine/devel .cvsignore, 1.10, 1.11 sources, 1.11, 1.12 wine.spec, 1.19, 1.20
- Next message (by thread): rpms/wine-docs/FC-3 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 wine-docs.spec, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jcwillia
Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9488
Modified Files:
mock.py
Log Message:
add chroot command for running arbitrary commands in the chroot
Index: mock.py
===================================================================
RCS file: /cvs/fedora/mock/mock.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- mock.py 24 Feb 2006 19:31:57 -0000 1.36
+++ mock.py 15 Mar 2006 22:14:38 -0000 1.37
@@ -780,6 +780,12 @@
my.close()
print 'Finished initializing root'
+
+ elif args[0] == 'chroot':
+ config_opts['clean'] = config_opts['quiet'] = False
+ my= Root(config_opts)
+ my.do_chroot(' '.join(args[1:]), True)
+ print 'Finished chroot command'
else:
if args[0] == 'rebuild':
- Previous message (by thread): rpms/wine/devel .cvsignore, 1.10, 1.11 sources, 1.11, 1.12 wine.spec, 1.19, 1.20
- Next message (by thread): rpms/wine-docs/FC-3 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 wine-docs.spec, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list