summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/less
diff options
context:
space:
mode:
authorPhilip Lorenz <philip.lorenz@bmw.de>2024-02-27 07:18:08 +0100
committerSteve Sakoman <steve@sakoman.com>2024-03-01 08:00:58 -1000
commitb3e316e8486e5462c3c71a9c8248779a5c253385 (patch)
treeec8ef8021bc3c63491b0a7ee4663f65c3c20d8f2 /meta/recipes-extended/less
parentec62e15f12f3c69d1e9b484cb2cbb8f84fdf73d8 (diff)
downloadpoky-b3e316e8486e5462c3c71a9c8248779a5c253385.tar.gz
bitbake: fetch2: Ensure that git LFS objects are available
The current implementation only performs a git lfs fetch alongside of a regular git fetch. This causes issues when the downloaded revision is already part of the fetched repository (e.g. because of moving back in history or the updated revision already being part of the repository at the time of the initial clone). Fix this by explicitly checking whether the required LFS objects are available in the downloade directory before confirming that a downloaded repository is up-to-date. This issue previously went unnoticed as git lfs would silently fetch the missing objects during the `unpack` task. With network isolation turned on, this no longer works, and unpacking fails. (cherry picked from commit cfae1556bf671acec119a6c8bbc4b667a856b9ae) (Bitbake rev: 40fd5f4eef7460ca67f32cfce8e229e67e1ff607) Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-extended/less')
0 files changed, 0 insertions, 0 deletions