diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 15:05:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 15:48:26 +0100 |
commit | 3dc2615e1ad779692d9c9edf934446103905573d (patch) | |
tree | fdad2e59d899eb461328d5af060bec3bb469b6aa | |
parent | e55dc39c3702538ab3d81ff55c37ab7e8c1e78a2 (diff) | |
download | ast2050-yocto-poky-3dc2615e1ad779692d9c9edf934446103905573d.zip ast2050-yocto-poky-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>
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 553c6a2..6358d39 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)) |