summaryrefslogtreecommitdiffstats
path: root/scripts/ci/configure.sh
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-07-01 17:00:23 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-07-01 17:02:20 +0200
commit2545aa65d581df7bc90a942446520f2ccef8f4b8 (patch)
treecfcabdbf9f6aa6834d60932238733fca1c0812a1 /scripts/ci/configure.sh
parentf7ba52b35b028d7234402f5b1e79e270a8555584 (diff)
downloadmeta-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/configure.sh')
-rwxr-xr-xscripts/ci/configure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci/configure.sh b/scripts/ci/configure.sh
index 2101c64..3271585 100755
--- a/scripts/ci/configure.sh
+++ b/scripts/ci/configure.sh
@@ -25,6 +25,7 @@ mv "$TEST_BUILD_DIR/conf" "$TEST_BUILD_DIR/conf.old" || true
25set +euo pipefail 25set +euo pipefail
26set +x 26set +x
27echo ">> Running envsetup.sh" 27echo ">> Running envsetup.sh"
28export METADIR=$(realpath $TEST_REPO_DIR)
28. "$TEST_REPO_DIR/meta-updater/scripts/envsetup.sh" "$TEST_MACHINE" "$TEST_BUILD_DIR" 29. "$TEST_REPO_DIR/meta-updater/scripts/envsetup.sh" "$TEST_MACHINE" "$TEST_BUILD_DIR"
29) 30)
30 31
@@ -35,7 +36,6 @@ SITE_CONF="$TEST_BUILD_DIR/conf/site.conf"
35echo ">> Set common bitbake config options" 36echo ">> Set common bitbake config options"
36cat << EOF > "$SITE_CONF" 37cat << EOF > "$SITE_CONF"
37SANITY_TESTED_DISTROS = "" 38SANITY_TESTED_DISTROS = ""
38SSTATE_MIRRORS ?= "file://.* https://bitbake-cache.atsgarage.com/PATH;downloadfilename=PATH"
39IMAGE_FEATURES += "ssh-server-openssh" 39IMAGE_FEATURES += "ssh-server-openssh"
40 40
41EOF 41EOF