diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2019-01-15 16:31:31 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-16 15:35:07 +0000 |
commit | 566d31960cf1e86b7e1e6dc0272600d24b335134 (patch) | |
tree | 1d0183e13419e8a4a515129d334c7da70aad60d0 /bitbake/lib/bb/build.py | |
parent | e5455662a9762fc2cb8859134d855413d84fd265 (diff) | |
download | poky-566d31960cf1e86b7e1e6dc0272600d24b335134.tar.gz |
bitbake: gitsm.py: Fix when a submodule is defined, but not initialized
It is possible for a submodule to be defined in the .gitmodules file, but
never initialized in the repository itself. This shows itself when searching
for the defined module hash you will get back a empty value.
Similarly we need to identify and skip defined but not initialized submodules
during the unpack stages as well.
Thanks to raphael.lisicki@siemens.com for their help is figuring out how
to resolve this issue.
Additionally a problem was found where, while unlikely, it may be possible
for the wrong revision to have been searched using ls-tree. This has been
resolved in the update_submodules function by keeping the correct revision
along with the submodule path.
(Bitbake rev: 49e1ff920143dcd4e7f73933d7ab8a84b8ffa1a3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
0 files changed, 0 insertions, 0 deletions