From: Gui Chen Date: Fri, 16 Aug 2013 03:22:02 +0000 (-0400) Subject: don't need to clean up extra mounts present X-Git-Tag: 0.21~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b4c6084ec6a94459f923a6a830b35a1c2144de2;p=tools%2Fmic.git don't need to clean up extra mounts present cleanup_mount would clean up the chrootdir, which will block the locking mechanism Signed-off-by: Gui Chen --- diff --git a/mic/chroot.py b/mic/chroot.py index ac2c007..8a74137 100644 --- 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()