[bitbake-devel] [PATCH v2 0/2] Add symlinks for git (shallow) tarballs when name differs due to mirror rewrite rules
Urs Fässler
urs.fassler at bbv.ch
Thu Oct 18 09:41:00 UTC 2018
v2: Check if fullmirror and shallow property exists before creating symlinks for
them. This prevents errors with fetchers that don't support tarball creation.
The patches are based on master-next (5463c16e3619d324aed137f47f93f0997a227d29).
The git (shallow) tarballs are not found when certain mirror rewrite rules are
in use. This is due to the fact that the tarball is named according to the url
where it is downloaded from. The error occurs in the unpack step where BitBake
looks for a tarball named after the url as specified in the recipe. By adding
the symlinks BitBake finds the tarballs in the unpack step.
Regards
Urs
Urs Fässler (2):
fetch2: add symlinks for mirror tarballs
fetch2: add symlink for shallow mirror tarballs
lib/bb/fetch2/__init__.py | 6 +++
lib/bb/tests/fetch.py | 102 +++++++++++++++++++++++++++++++++++++-
2 files changed, 107 insertions(+), 1 deletion(-)
--
2.19.1
More information about the bitbake-devel
mailing list