]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
devtool: fix devtool finish when gitmodules file is empty
authorThomas Roos <throos@amazon.de>
Mon, 16 Jan 2023 14:30:22 +0000 (15:30 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 31 Jan 2023 23:15:53 +0000 (13:15 -1000)
commit7bc6bb2d3f01f3c9fe42417b6cfad194f9931a3a
treec776bbc44710748144716a56951a4450ffb59330
parentf9167e9c31d55c60d6713aa4f601b012663926e3
devtool: fix devtool finish when gitmodules file is empty

When a .gitmodules file exists but is empty then devtool finish fails.
Add an additional check for this.

[YOCTO #14999]

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4f0f7c4934bade9e4d4a1086f9d8b29d8e9ad45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/externalsrc.bbclass