scripts/autobuilder-worker-prereq-tests: jinja2 check
PATCH 1/1 scripts/autobuilder-worker-prereq-tests: jinja2 check
Ensure the jinja2 module is available during bringup.
Signed-off-by Michael Halstead <[email protected]>
--- scripts/autobuilder-worker-prereq-tests | 5 +++++ 1 file changed, 5 insertions(+)
scripts/autobuilder-worker-prereq-tests +5 -0
@@ -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"
Signature · 1 line
2.31.1
Quoted 13 lines · Michael Halstead
Ensure the jinja2 module is available during bringup.
Signed-off-by Michael Halstead <[email protected]>--- scripts/autobuilder-worker-prereq-tests | 5 +++++ 1 file changed, 5 insertions(+)scripts/autobuilder-worker-prereq-tests +0
-0@@ -35,6 +35,11 @@ if [ "$?" != "0" ]; then echo "Please set git config --global user.email"
scripts/autobuilder-worker-prereq-tests if [ "$?" != "0" ]; then · line 45
Quoted 10 lines
scripts/autobuilder-worker-prereq-tests +5
-0exit 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"
Looks good, thanks, I merged it. Should we cover rsync with a test too?
Cheers,
Richard