summaryrefslogtreecommitdiffstats
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:48:26 +0100
commit3dc2615e1ad779692d9c9edf934446103905573d (patch)
treefdad2e59d899eb461328d5af060bec3bb469b6aa /meta/classes/sstate.bbclass
parente55dc39c3702538ab3d81ff55c37ab7e8c1e78a2 (diff)
downloadpoky-3dc2615e1ad779692d9c9edf934446103905573d.tar.gz
sstate.bbclass: When removing files, take an exclusive lock, even for shared lockfiles
(From OE-Core rev: 4a3e94c2ec014a8aef5e8ebb21bdbdf8d28416b3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 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 553c6a2de1..6358d39431 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -239,7 +239,7 @@ def sstate_clean(ss, d):
239 if os.path.exists(manifest): 239 if os.path.exists(manifest):
240 locks = [] 240 locks = []
241 for lock in ss['lockfiles-shared']: 241 for lock in ss['lockfiles-shared']:
242 locks.append(bb.utils.lockfile(lock, True)) 242 locks.append(bb.utils.lockfile(lock))
243 for lock in ss['lockfiles']: 243 for lock in ss['lockfiles']:
244 locks.append(bb.utils.lockfile(lock)) 244 locks.append(bb.utils.lockfile(lock))
245 245