]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool: create_buildsys_python.py: initialize metadata
authorJulien Stephan <jstephan@baylibre.com>
Mon, 4 Dec 2023 15:59:29 +0000 (16:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Dec 2023 22:55:46 +0000 (22:55 +0000)
commit88d15877ba18309c521740d7a9649e14d77189bc
treeb7b90897f14c177e0bd3b534ed75f73482f66fc5
parentc7c7dbdd5474002cfd9ec24864e77a0df2b790ea
recipetool: create_buildsys_python.py: initialize metadata

In the case pyproject.toml doesn't contains metadatas, the metadata
variable is not initialized and the plugin throws an error and falls back
to another plugin, which is not the desired behaviour. So just ignore
metadata if we don't have them

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_buildsys_python.py