From 4a3e94c2ec014a8aef5e8ebb21bdbdf8d28416b3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 Jun 2011 15:05:02 +0100 Subject: sstate.bbclass: When removing files, take an exclusive lock, even for shared lockfiles Signed-off-by: Richard Purdie --- meta/classes/sstate.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/sstate.bbclass') diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 553c6a2de..6358d3943 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -239,7 +239,7 @@ def sstate_clean(ss, d): if os.path.exists(manifest): locks = [] for lock in ss['lockfiles-shared']: - locks.append(bb.utils.lockfile(lock, True)) + locks.append(bb.utils.lockfile(lock)) for lock in ss['lockfiles']: locks.append(bb.utils.lockfile(lock)) -- cgit v1.2.3