diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2016-03-11 07:29:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-12 22:11:47 +0000 |
commit | 36bf66654a557c570011db0b06f2084ee2ccf9cc (patch) | |
tree | a51485172e169325ff355245663819e47c721f50 /meta/recipes-graphics | |
parent | 35be67951305950ba797dc2efddbc7d88fc0556a (diff) | |
download | poky-36bf66654a557c570011db0b06f2084ee2ccf9cc.tar.gz |
package_manager.py: Fix race condition in OpkgIndexer.write_index()
When writing the index using ipk packages there could be a race condition
when populate the index. This happens because the architectures
are repeated (specially all) and the commands generated to write the index
run in parallel.
This change avoid the duplication of commands using a set instead of a list.
[YOCTO #8924]
(From OE-Core rev: 74adb14b0002e20099cc2c34e01862e8ddb8e013)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
0 files changed, 0 insertions, 0 deletions