summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/tests/base.py
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2023-09-13 13:04:25 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-14 15:08:21 +0100
commite12e6d94ecbea6e0dafc080f2f196e12228730eb (patch)
tree5cc61e27d4b7f6234372dcef0cc087a5c21fe8e2 /meta/lib/patchtest/tests/base.py
parentb2ab9bd4a394a60bfb2b21f5cc31b6f3185fc7e5 (diff)
downloadpoky-e12e6d94ecbea6e0dafc080f2f196e12228730eb.tar.gz
bitbake: fetch2: git: Use path_is_descendant() instead of path for repo check
Using path prefixes to check if the git directory is a descendant of the clone directory can be easily confused with symlinkes and bind mounts, causing directories to be deleted unnecessarily. Instead, use bb.utils.path_is_descendant() which is immune to the these sorts of problems. (Bitbake rev: b4d7a0546630620480b7fee159b84c3506e941a2) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/tests/base.py')
0 files changed, 0 insertions, 0 deletions