diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-13 04:26:40 -1000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-16 17:53:22 +0100 |
| commit | 9c26cd5d7049f5eb1e1ed68e67f5a4582e34045e (patch) | |
| tree | b3ecba84ba3c65e19f359e7851f268960d7fbf78 /bitbake/lib/bb/utils.py | |
| parent | 34ce1874911fcb34052ab6c032e1b342e51f9567 (diff) | |
| download | poky-9c26cd5d7049f5eb1e1ed68e67f5a4582e34045e.tar.gz | |
bitbake: fetch2: Ensure directory exists before creating symlink
If the mirrors code is trying to create a symlink and the
parent directory doesn't exist, as might be the case for sstate
mirrors where the fetch is into a subdir, it can silently fail.
Ensure the directory exists in this case to avoid issues.
(Bitbake rev: ff3afb1c1bb236c4a52c62a74f2917071e0af55b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eff16e474ee7dc49ae433420a4c8d15d3314a618)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
0 files changed, 0 insertions, 0 deletions
