diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-09-25 16:23:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-25 23:15:42 +0100 |
commit | f33d7124cd07f776e8b05a26703f6d551357ae09 (patch) | |
tree | f633d47835b530f4a8c9411405fd1aee5e2775c1 /meta/classes | |
parent | e8acef383767cfd1ef0c3d3c45d9d6eb1c83b3e7 (diff) | |
download | openembedded-core-f33d7124cd07f776e8b05a26703f6d551357ae09.tar.gz openembedded-core-f33d7124cd07f776e8b05a26703f6d551357ae09.tar.bz2 openembedded-core-f33d7124cd07f776e8b05a26703f6d551357ae09.zip |
perl: fix race issues for MakeMaker
Fixed a race issue when compile libhtml-parser-perl and others who use MakeMaker:
[snip]
chmod 755 blib/arch/auto/HTML/Parser/Parser.so
chmod 644 "Parser.bs"
[snip]
The rule INST_DYNAMIC removes '.bs' file which are generated by BOOTSTRAP, but
the have no dependencies, so there is a race issue:
BOOTSTRAP:
touch foo.bs
chmod 755 foo.bs
INST_DYNAMIC:
rm -fr foo.bs
The error would happen when INST_DYNAMIC removes foo.bs after BOOTSTRAP touched
it but before chmod on it.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions