summaryrefslogtreecommitdiff
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 15:05:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 15:36:13 +0100
commit4a3e94c2ec014a8aef5e8ebb21bdbdf8d28416b3 (patch)
tree1c3dbf2234ff46d038514350026e2f7149ae9daf /meta/classes/sstate.bbclass
parent30101d4153aa8e116892063933b868d325bdd79c (diff)
downloadopenembedded-core-4a3e94c2ec014a8aef5e8ebb21bdbdf8d28416b3.tar.gz
openembedded-core-4a3e94c2ec014a8aef5e8ebb21bdbdf8d28416b3.tar.bz2
openembedded-core-4a3e94c2ec014a8aef5e8ebb21bdbdf8d28416b3.tar.xz
openembedded-core-4a3e94c2ec014a8aef5e8ebb21bdbdf8d28416b3.zip
sstate.bbclass: When removing files, take an exclusive lock, even for shared lockfiles
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 1 insertions, 1 deletions
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))