Problem description: When having a recipe that has a SRC_URI including gitsm:// to fetch a git repo with submodules we are getting an error during unpack stage. Scenario: 1. Set up a git repo with a submodule 2. Create a recipe to download and build that repo Reproduced on: WR Linux 700.8 BSP: fsl-t4xxx Analysis: Error log: | DEBUG: Python function base_do_unpack finished | DEBUG: Python function do_unpack finished | ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 1, output: | git: 'submodule' is not a git command. See 'git --help'. The installed binary in buildtools does not seem to support git submodule command: $ bitbake_build/buildtools/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/git submodule git: 'submodule' is not a git command. See 'git --help'. If configuring the project with "--enable-buildtools=auto" then it works fine.
If configuring the project with "--enable-buildtools=auto" then it works fine.