diff options
| author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2025-09-05 08:20:55 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:15:34 +0000 |
| commit | 9c53f61d3fbaf7b15ec5cf012084be0b8a51cda1 (patch) | |
| tree | 5fd0f0d114e44968890c2b5deb3ae5cac0909db7 /bitbake | |
| parent | ecc038f786ec5ef6eec64ad5a534102a741bae64 (diff) | |
| download | poky-9c53f61d3fbaf7b15ec5cf012084be0b8a51cda1.tar.gz | |
bitbake: fetch2: gitsm: remove redundant check
(Bitbake rev: 7d329f8ec8b7044c2a243414c9996144e93523f7)
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
| -rw-r--r-- | bitbake/lib/bb/fetch2/gitsm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/gitsm.py b/bitbake/lib/bb/fetch2/gitsm.py index 37f82cd373..9afdc8370e 100644 --- a/bitbake/lib/bb/fetch2/gitsm.py +++ b/bitbake/lib/bb/fetch2/gitsm.py | |||
| @@ -174,7 +174,7 @@ class GitSM(Git): | |||
| 174 | logger.error('gitsm: submodule update check failed: %s %s' % (type(e).__name__, str(e))) | 174 | logger.error('gitsm: submodule update check failed: %s %s' % (type(e).__name__, str(e))) |
| 175 | need_update_result = True | 175 | need_update_result = True |
| 176 | 176 | ||
| 177 | self.call_process_submodules(ud, d, not os.path.exists(ud.clonedir), need_update_submodule) | 177 | self.call_process_submodules(ud, d, True, need_update_submodule) |
| 178 | 178 | ||
| 179 | if need_update_list: | 179 | if need_update_list: |
| 180 | logger.debug('gitsm: Submodules requiring update: %s' % (' '.join(need_update_list))) | 180 | logger.debug('gitsm: Submodules requiring update: %s' % (' '.join(need_update_list))) |
