diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2022-07-12 18:41:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-14 23:22:09 +0100 |
commit | 3a2a5847371fe59efd2e430c69f03f3fe4dc873d (patch) | |
tree | 88fdb1b6451af3b5243e0a57e7b4a6b6abcc9ce2 /meta-yocto-bsp | |
parent | 9aa23c701a1720ef2268a4dd912018e4fb540247 (diff) | |
download | poky-3a2a5847371fe59efd2e430c69f03f3fe4dc873d.tar.gz |
patch: handle if S points to a subdirectory of a git repo
If PATCHTOOL = "git", SRC_URI fetches from a git repo and S points to
a subdirectory of the checked out sources, then we were erroneously
initialising the subdirectory as its own git repo. Check if the returned
top-level repo directory is a subdirectory of WORKDIR and do not
run initialise the source directory if that is the case.
(This was a regression introduced with OE-Core revision
6184b56a7a0fc6f5d19fdfb81e7453667f7da940, however we didn't have a test
that verified the behaviour.)
(From OE-Core rev: 9cca53a2bcbf6809615ce5626c86c6ee481a7a76)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp')
0 files changed, 0 insertions, 0 deletions