projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
44e829d
)
fix chroot_lock reference
author
Gui Chen
<gui.chen@intel.com>
Thu, 15 Aug 2013 02:06:01 +0000
(22:06 -0400)
committer
Gui Chen
<gui.chen@intel.com>
Thu, 15 Aug 2013 02:06:01 +0000
(22:06 -0400)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/chroot.py
patch
|
blob
|
history
diff --git
a/mic/chroot.py
b/mic/chroot.py
index
342b5e8
..
4e4120d
100644
(file)
--- a/
mic/chroot.py
+++ b/
mic/chroot.py
@@
-222,6
+222,8
@@
def cleanup_mounts(chrootdir):
def cleanup_chrootenv(chrootdir, bindmounts=None, globalmounts=()):
""" clean up chroot environment """
+ global chroot_lock
+
# kill processes
kill_proc_inchroot(chrootdir)
# clean mtab