diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2023-03-24 00:09:02 -0700 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-04-14 06:51:44 -1000 |
commit | 965c2ec095267c917bac66880b14884b399943ce (patch) | |
tree | 8a68c4433dafb6b9eaeabf08039e6fb783fc1549 /scripts/lib/devtool/sdk.py | |
parent | 0f1f69eabe06033d7d15f52725c99491ece77ba7 (diff) | |
download | poky-965c2ec095267c917bac66880b14884b399943ce.tar.gz |
bitbake: fetch/git: Fix local clone url to make it work with repo
The "git clone /path/to/git/objects_symlink" couldn't work after the following
change:
https://github.com/git/git/commit/6f054f9fb3a501c35b55c65e547a244f14c38d56
But repo command manages the git repo as symlinks, so check whether the objects
is an symlink to fix the problem:
* Nothing is changed if git/objects is not a symlink
* Use "git clone file://" when git/objects is a symlink
(Bitbake rev: 5b105e76dd7de3b9a25b17b397f2c12c80048894)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a0d8108eba8d542707740d00c66c1c5f5b963f18)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions