summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ccache
diff options
context:
space:
mode:
authorLee Chee Yang <chee.yang.lee@intel.com>2020-07-23 09:16:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-25 15:11:05 +0100
commit4eef15704a58f65514d7e7b43d8abe3b3f78fcca (patch)
treebdcd88f590a5f67bf4d2be110fe1e9ada19d05f8 /meta/recipes-devtools/ccache
parent7c3055e70f2dba92787d37d7b04d2486c7772740 (diff)
downloadpoky-4eef15704a58f65514d7e7b43d8abe3b3f78fcca.tar.gz
buildhistory: use pid for temporary txt file name
buildhistory create .txt file bh_installed_pkgs.txt and bh_installed_pkgs_deps.txt while listing down installed package. These file is later removed in buildhistory_get_installed(). when multiple process runs in parellal there are chances to race for the file where one process created the file while another task remove the file right after it. using different file name for each process should avoid the race. So add PID to the file name to make it unique. [yocto #13709] (From OE-Core rev: 214d236d93700abffa2d586cc744a00455818fa4) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ccache')
0 files changed, 0 insertions, 0 deletions