diff options
author | Daniel Díaz <daniel.diaz@linaro.org> | 2017-11-26 00:02:07 -0600 |
---|---|---|
committer | Daniel Díaz <daniel.diaz@linaro.org> | 2017-11-26 00:02:07 -0600 |
commit | eb4819fa056e32340eec18796419c1f147a9ac61 (patch) | |
tree | ef94b8bcb0c4ea06899f06c572c368d1033c128e /openembedded-armv8-ilp32.yaml | |
parent | 0eb27e60dd6b1c86ebf8323b04110d2aa7602b34 (diff) |
openembedded-armv8-ilp32: don't use jinja2 for template
No need for it. Besides, this mechanism also substitutes
environment variables that were previously left off.
Change-Id: I113be7273430d74e3f1ae8f253367b1796f5914f
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'openembedded-armv8-ilp32.yaml')
-rw-r--r-- | openembedded-armv8-ilp32.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/openembedded-armv8-ilp32.yaml b/openembedded-armv8-ilp32.yaml index 8d5e11e7..9209303f 100644 --- a/openembedded-armv8-ilp32.yaml +++ b/openembedded-armv8-ilp32.yaml @@ -106,6 +106,7 @@ - shell: | #!/bin/bash + set -ex # Create sparse image # Only the LTP image is sent to LAVA, hence it is the only one # needing a sparse image to be published. @@ -140,11 +141,10 @@ export DEVICE_TYPE=hi6220-hikey export BOOT_URL=${PUBLISH_SERVER}/${PUB_DEST}/$(ls out/boot-0.0*.img | xargs basename) export SYSTEM_URL=${PUBLISH_SERVER}/${PUB_DEST}/$(ls out/linaro-image-${rootfs}-${MACHINE}-*.rootfs.img.gz | xargs basename) - - pip install --force-reinstall --user jinja2-cli - ${HOME}/.local/bin/jinja2 -D testname=syscalls \ - configs/openembedded-armv8/lava-job-definitions/${DEVICE_TYPE}/master-template-ltp.yaml.jinja2 \ - > custom_lava_job_definition.yaml + export TESTNAME=syscalls + eval "cat << EOF > custom_lava_job_definition.yaml + $(<configs/openembedded-armv8/lava-job-definitions/${DEVICE_TYPE}/master-template-ltp.yaml) + EOF" cat << EOF > post_build_lava_parameters DEVICE_TYPE=${DEVICE_TYPE} |