oe: Fix build failures with multiple git SRC_URI entries
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | externalsrc: Handle nested git repos from multiple SRC_URI entriesmeta/ | +36 | 7 replies | |
| 2/2 | reproducible: Handle nested git repos in find_git_repositoriesmeta/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] oe: Fix build failures with multiple git SRC_URI entries
Some recipes (e.g. Zephyr-based) use multiple git SRC_URI entries with different destsuffix values, causing each source to be unpacked into a separate subdirectory of EXTERNALSRC that retains its own .git directory.
These nested git repositories trigger two independent failures:
1. externalsrc.bbclass: 'git add -A .' exits with code 128 during srctree_hash_files(), halting the bitbake parse phase.
2. oe/reproducible.py: 'git log -1' exits with code 128 inside a nested repo found by find_git_repositories(), aborting do_unpack.
Jamin Lin (2):
externalsrc: Handle nested git repos from multiple SRC_URI entries
reproducible: Handle nested git repos in find_git_repositories
meta/classes/externalsrc.bbclass | 37 +++++++++++++++++++++++++++++++- meta/lib/oe/reproducible.py | 6 +++++- 2 files changed, 41 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0