summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2024-06-23 17:03:49 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-06-25 11:51:45 +0100
commitac40cb5ee24a8ef44b941c4b9bbf6eec6f61d13c (patch)
tree08e0a3a56918ad79a19f0d904c5b1061501661e6 /scripts/lib
parent2346c7ca09d3b2247f15f760dc9db215f619a36d (diff)
downloadpoky-ac40cb5ee24a8ef44b941c4b9bbf6eec6f61d13c.tar.gz
bitbake: cache: Remove invalid symlink for bb_cache.dat
The bb_cache.dat might be an invalid symlink when error happens, then os.path.exists(symlink) would return False for it, the invalid symlink wouldn't be removed and os.symlink can't update it any more. Use os.path.islink(symlink) can fix the problem. (Bitbake rev: 1387d7b9ee3f270488f89b29f36f9f240e44accc) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions