mock mock.py,1.40,1.41

John Clark Williams (jcwillia) fedora-extras-commits at redhat.com
Wed Apr 12 14:22:14 UTC 2006


Author: jcwillia

Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12458

Modified Files:
	mock.py 
Log Message:
change to chroot command to insure /proc and /sys are mounted/unmounted


Index: mock.py
===================================================================
RCS file: /cvs/fedora/mock/mock.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- mock.py	11 Apr 2006 08:01:31 -0000	1.40
+++ mock.py	12 Apr 2006 14:22:11 -0000	1.41
@@ -792,7 +792,9 @@
     elif args[0] == 'chroot':
         config_opts['clean'] = config_opts['quiet'] = False
         my= Root(config_opts)
+        my._mount()
         my.do_chroot(' '.join(args[1:]), True)
+        my.close()
         print 'Finished chroot command'
         
     else:




More information about the fedora-extras-commits mailing list