projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8760d7e
)
don't need to clean up extra mounts present
author
Gui Chen
<gui.chen@intel.com>
Fri, 16 Aug 2013 03:22:02 +0000
(23:22 -0400)
committer
Gui Chen
<gui.chen@intel.com>
Fri, 16 Aug 2013 03:22:02 +0000
(23:22 -0400)
cleanup_mount would clean up the chrootdir, which
will block the locking mechanism
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
ac2c007
..
8a74137
100644
(file)
--- a/
mic/chroot.py
+++ b/
mic/chroot.py
@@
-236,8
+236,9
@@
def cleanup_chrootenv(chrootdir, bindmounts=None, globalmounts=()):
cleanup_resolv(chrootdir)
# bind umounting
bind_unmount(get_bindmounts(chrootdir, bindmounts))
- # clean up mounts
- cleanup_mounts(chrootdir)
+ # FIXME: need to clean up mounts?
+ #cleanup_mounts(chrootdir)
+
# release the lock
if chroot_lock:
chroot_lock.release()