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(-) -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#237073): https://lists.openembedded.org/g/openembedded-core/message/237073 Mute This Topic: https://lists.openembedded.org/mt/119327121/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
