diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2025-05-15 11:28:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-15 10:05:49 +0100 |
commit | 07f08063c1d6eff52fe95d0b6c1239cb1336c7a7 (patch) | |
tree | 562381fa3b163403c9390ad33ea5e42c852f2248 /meta/recipes-devtools/python/python3-cython/0001-Output-import-relative-paths-in-generated-C-code.-GH.patch | |
parent | d51e9418289b8107eab0bdc74e7d2c2dd0d061cf (diff) | |
download | poky-07f08063c1d6eff52fe95d0b6c1239cb1336c7a7.tar.gz |
bitbake: fetch2/git: fix shallow clone for tag containing slash
If a tag contains slash, e.g., debian/5.22, then shallow clone
fails because it's using a wrong ref.
To reproduce the issue, add the following lines in local.conf:
BB_GIT_SHALLOW = "1"
BB_GENERATE_SHALLOW_TARBALLS = "1"
And then run 'bitbake debianutils -c fetch'.
What the original os.path.basename(ref) wanted to do is to remove
the strings such as refs/heads/. So we do it explitly to fix this
issue.
Fixes: [YOCTO #15862]
(Bitbake rev: c6d6999f1ed01e7445b8f177a888038edacf555c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-cython/0001-Output-import-relative-paths-in-generated-C-code.-GH.patch')
0 files changed, 0 insertions, 0 deletions