Message ID | 4f75814ee6580f61a27b71ed9169582e7ddd1559.1663078873.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | ff3afb1c1bb236c4a52c62a74f2917071e0af55b |
Headers | show |
Series | [kirkstone,2.0,01/14] runqueue: Fix unihash cache mismatch issues | expand |
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index ac557176..a3140626 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -1097,6 +1097,8 @@ def try_mirror_url(fetch, origud, ud, ld, check = False): def ensure_symlink(target, link_name): if not os.path.exists(link_name): + dirname = os.path.dirname(link_name) + bb.utils.mkdirhier(dirname) if os.path.islink(link_name): # Broken symbolic link os.unlink(link_name)