add lockfile support for mic/chroot.py module
authorGui Chen <gui.chen@intel.com>
Fri, 9 Aug 2013 03:58:40 +0000 (23:58 -0400)
committerGui Chen <gui.chen@intel.com>
Tue, 13 Aug 2013 09:23:52 +0000 (05:23 -0400)
commitebd4da08f28a646ca7609841e54dedeb7f18e303
tree896ae6742de4ec958a363eed2b1405a9b51705af
parentbe64c436a6b7fab268cbd208bf3f7491b8d93b54
add lockfile support for mic/chroot.py module

a simple lockfile implementation is added,
and it is supposed to provide an exclusive
locking in the chroot dir

Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/chroot.py
mic/utils/lock.py [new file with mode: 0644]