mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
3579782a44
commit
9a7bc68135
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user