diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2015-12-16 16:22:21 +0100 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2015-12-16 15:30:37 +0000 |
commit | a1c895f42c93a963cb3cf32b5d96a96e42ded88c (patch) | |
tree | 4ba2f4e9afaace80689f9e1800af9a157fa65851 | |
parent | 41f91e637feb136dcfdf853e19c1a9833983081d (diff) |
openembedded-odp-rootfs: move template_file to the new exec-shell
Change-Id: Iddeb98dd043c70fa13211fd4bd03e5c434155cb2
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r-- | openembedded-odp-rootfs.yaml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/openembedded-odp-rootfs.yaml b/openembedded-odp-rootfs.yaml index f4f326d..cb61da9 100644 --- a/openembedded-odp-rootfs.yaml +++ b/openembedded-odp-rootfs.yaml @@ -94,8 +94,6 @@ WORKSPACE=$(dirname ${WORKSPACE}) cd ${WORKSPACE} - template_file="template-base" - case "${arch}" in armv7a) hwpack="arndale" @@ -104,7 +102,6 @@ armv7ab) hwpack="arndale-be" DEVICE_TYPE="arndale" - template_file="template-be-base" ;; x86-64) hwpack="x86-64" @@ -134,6 +131,13 @@ set -ex JENKINS_WORKSPACE=${WORKSPACE}/jenkins-setup + template_file="template-base" + case "${arch}" in + armv7ab) + template_file="template-be-base" + ;; + esac + # Parse recipe and get GIT_URL/GIT_BRANCH/GIT_COMMIT export GIT_URL=$(grep "^SRC_URI =" jenkins-setup/meta-linaro/meta-linaro/recipes-extra/odp/odp_*.bb | cut -d'"' -f2 | cut -d';' -f1) export GIT_COMMIT=$(grep "^SRCREV_odp =" jenkins-setup/meta-linaro/meta-linaro/recipes-extra/odp/odp_*.bb |cut -d'"' -f2 | cut -d'=' -f2) |