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:50 +0100 |
| commit | 9a7bc68135c8eb2ca2acda36f5cd5d21edd574d6 (patch) | |
| tree | 0a842ac20813bdf0e15161d21429b41f9a9b51e7 /scripts | |
| parent | 3579782a4415685063b28ba00e39271309106917 (diff) | |
| download | poky-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-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 | |||
| 35 | echo "Please set git config --global user.email" | 35 | echo "Please set git config --global user.email" |
| 36 | exit 1 | 36 | exit 1 |
| 37 | fi | 37 | fi |
| 38 | python3 -c "import jinja2" | ||
| 39 | if [ "$?" != "0" ]; then | ||
| 40 | echo "Please ensure jinja2 is available" | ||
| 41 | exit 1 | ||
| 42 | fi | ||
| 38 | bitbake -p | 43 | bitbake -p |
| 39 | if [ "$?" != "0" ]; then | 44 | if [ "$?" != "0" ]; then |
| 40 | echo "Bitbake parsing failed" | 45 | echo "Bitbake parsing failed" |
