]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: modify: Catch git submodule error for go code
authorAnton Almqvist <antonal@axis.com>
Tue, 14 May 2024 09:56:23 +0000 (11:56 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 May 2024 15:36:46 +0000 (16:36 +0100)
commitfe242408af40dd1f6e47d9b2b232bdc76756c80a
tree0db119abb2541996e4262b739e621e8b06fba497
parent03de1f0b8fa810fc9fe8d66db1614ff1b3f9be0f
devtool: modify: Catch git submodule error for go code

One of the git submodule commands failed for source extracted for
recipes using go.bbclass.  The root cause is probably the path set up
by go_do_unpack which makes S and gitroot not match.

This patch does not fix the root problem, but at least it is no worse
than before the git submodule support.

The extracted source will still have two .git folders, one in S
created by devtool and one in the go path which will contain the tru
git history.

[ YOCTO #15483 ]

Signed-off-by: Anton Almqvist <antonal@axis.com>
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py