diff options
author | Michael Halstead <mhalstead@linuxfoundation.org> | 2021-10-14 10:55:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 22:39:37 +0100 |
commit | c46a6ec91bd40a458cb0ef5ec84bc0cc274d9cef (patch) | |
tree | c56e0b3c8304d2b5a95ec01878eb0a14d8d81f27 | |
parent | 0710e98f40ec7394567ede1f88f7c7bae306b925 (diff) | |
download | openembedded-core-c46a6ec91bd40a458cb0ef5ec84bc0cc274d9cef.tar.gz |
scripts/autobuilder-worker-prereq-tests: jinja2 check
Ensure the jinja2 module is available during bringup.
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/autobuilder-worker-prereq-tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/autobuilder-worker-prereq-tests b/scripts/autobuilder-worker-prereq-tests index 5d7e6e2601..82e9a77bd5 100755 --- a/scripts/autobuilder-worker-prereq-tests +++ b/scripts/autobuilder-worker-prereq-tests @@ -35,6 +35,11 @@ if [ "$?" != "0" ]; then echo "Please set git config --global user.email" exit 1 fi +python3 -c "import jinja2" +if [ "$?" != "0" ]; then + echo "Please ensure jinja2 is available" + exit 1 +fi bitbake -p if [ "$?" != "0" ]; then echo "Bitbake parsing failed" |