diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2023-03-24 00:09:02 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-30 10:51:54 +0100 |
| commit | ac3eb2418aa91e85c39560913c1ddfd2134555ba (patch) | |
| tree | f4f0d22ef40f26ecc2e2027b6d3d811c334fb73a /meta/classes/devtool-source.bbclass | |
| parent | 4d9886e1435dba3785973cc920865f8ab67e644d (diff) | |
| download | poky-ac3eb2418aa91e85c39560913c1ddfd2134555ba.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: a0d8108eba8d542707740d00c66c1c5f5b963f18)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/devtool-source.bbclass')
0 files changed, 0 insertions, 0 deletions
