aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-10-05 14:57:46 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2017-10-05 14:57:46 +0300
commit153c8be8e1c92c8e4bdb20ac53ccd8a16a1746ca (patch)
treebc682a12d886a3ab97d5cf92e361eb116c7ec128
parent0b7172f60106ce0842821bba133d5545095b907e (diff)
lkft: pass --force-reinstall and --user to install jinja2-cli
Change-Id: I50ffe9f36a449f0b868c5e95c383e11543b658cf Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rw-r--r--lkft-lava-staging-oe.yaml2
-rwxr-xr-xopenembedded-lkft/builders.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/lkft-lava-staging-oe.yaml b/lkft-lava-staging-oe.yaml
index 10a550ddb6..007d778790 100644
--- a/lkft-lava-staging-oe.yaml
+++ b/lkft-lava-staging-oe.yaml
@@ -139,7 +139,7 @@
# Pre install jinja2-cli
# Create LTP sub test suite templates
- pip install jinja2-cli
+ pip install --force-reinstall --user jinja2-cli
LTP_TESTS="syscalls"
for ltptest in ${LTP_TESTS}; do
jinja2 -D testname=${ltptest} configs/openembedded-lkft/lava-job-definitions/${DEVICE_TYPE}/master-template-ltp.yaml.jinja2 > configs/openembedded-lkft/lava-job-definitions/${DEVICE_TYPE}/template-ltp-${ltptest}.yaml
diff --git a/openembedded-lkft/builders.sh b/openembedded-lkft/builders.sh
index 93812d4ab3..35aa0e6218 100755
--- a/openembedded-lkft/builders.sh
+++ b/openembedded-lkft/builders.sh
@@ -28,7 +28,7 @@ if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y ${pkg_list}; th
fi
# Install jinja2-cli
-pip install jinja2-cli
+pip install --user --force-reinstall jinja2-cli
set -ex