diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-07-01 17:00:23 +0200 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-07-01 17:02:20 +0200 |
commit | 2545aa65d581df7bc90a942446520f2ccef8f4b8 (patch) | |
tree | cfcabdbf9f6aa6834d60932238733fca1c0812a1 /scripts/ci/build.sh | |
parent | f7ba52b35b028d7234402f5b1e79e270a8555584 (diff) | |
download | meta-updater-wip/ci-gitlab.tar.gz |
Add ability to supply METADIR to envsetup.shwip/ci-gitlab
So that we can bypass the "relative path from the script" trick that
doesn't work with symlinks.
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'scripts/ci/build.sh')
-rwxr-xr-x | scripts/ci/build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 6235428..436a00d 100755 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh | |||
@@ -12,6 +12,7 @@ IMAGE_NAME=${1:-core-image-minimal} | |||
12 | ( | 12 | ( |
13 | set +euo pipefail | 13 | set +euo pipefail |
14 | set +x | 14 | set +x |
15 | export METADIR=$(realpath $TEST_REPO_DIR) | ||
15 | . "${TEST_REPO_DIR}/meta-updater/scripts/envsetup.sh" "${TEST_MACHINE}" "${TEST_BUILD_DIR}" | 16 | . "${TEST_REPO_DIR}/meta-updater/scripts/envsetup.sh" "${TEST_MACHINE}" "${TEST_BUILD_DIR}" |
16 | 17 | ||
17 | bitbake "${IMAGE_NAME}" | 18 | bitbake "${IMAGE_NAME}" |