summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Halstead <mhalstead@linuxfoundation.org>2021-10-14 10:55:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-14 22:39:50 +0100
commit9a7bc68135c8eb2ca2acda36f5cd5d21edd574d6 (patch)
tree0a842ac20813bdf0e15161d21429b41f9a9b51e7 /scripts
parent3579782a4415685063b28ba00e39271309106917 (diff)
downloadpoky-9a7bc68135c8eb2ca2acda36f5cd5d21edd574d6.tar.gz
scripts/autobuilder-worker-prereq-tests: jinja2 check
Ensure the jinja2 module is available during bringup. (From OE-Core rev: c46a6ec91bd40a458cb0ef5ec84bc0cc274d9cef) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/autobuilder-worker-prereq-tests5
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
35 echo "Please set git config --global user.email" 35 echo "Please set git config --global user.email"
36 exit 1 36 exit 1
37fi 37fi
38python3 -c "import jinja2"
39if [ "$?" != "0" ]; then
40 echo "Please ensure jinja2 is available"
41 exit 1
42fi
38bitbake -p 43bitbake -p
39if [ "$?" != "0" ]; then 44if [ "$?" != "0" ]; then
40 echo "Bitbake parsing failed" 45 echo "Bitbake parsing failed"