Commit 802f869f by S.Çağlar Onur Committed by Stéphane Graber

use $LOCALSTATEDIR/lock/subsys/lxc-ubuntu$release as lock filename

Otherwise one cannot create two containers with different releases (let's say saucy [cached] and raring [not caced]) if both are not cached on the local filesystem already. The lock blocks cached one to move forward until not cached one finishes it's downloads. Fix that by seperating locks using release names Signed-off-by: 's avatarS.Çağlar Onur <caglar@10ur.org> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 826eb798
......@@ -369,7 +369,7 @@ install_ubuntu()
return 0
) 200>$LOCALSTATEDIR/lock/subsys/lxc-ubuntu
) 200>$LOCALSTATEDIR/lock/subsys/lxc-ubuntu$release
return $?
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment