summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/context.py
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2022-12-01 15:04:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-23 23:05:57 +0000
commit1db7ae86af8b943a0192c0a3a101b8d68074c89a (patch)
tree09c8b6d6ccfad4cd82177304799917fc6fe45508 /scripts/lib/checklayer/context.py
parent4516dca58313ba750331bb5e6534d148bf6db094 (diff)
downloadpoky-1db7ae86af8b943a0192c0a3a101b8d68074c89a.tar.gz
externalsrc: fix lookup for .gitmodules
Commit 0533edac277080e1bd130c14df0cbac61ba01a0c broke bitbake parsing when bitbake is executed from directory with existing .gitmodules and the recipe in externalsrc does not have .gitmodules The check needs to search for .gitmodules in sources path, not cwd. iParsing recipes...ERROR: ExpansionError during parsing <path to recipe> ... bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'config', '--file', '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1. (From OE-Core rev: 61153027d56b420303868b5d3be9c5b82920f687) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 66ff3d1f65cd2e7f5319e98fa41f47a59b714c72) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/context.py')
0 files changed, 0 insertions, 0 deletions