summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-07-19 11:06:52 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-07-19 11:06:52 +0200
commitaa02efc39ead71faa6708e01eae24f445df672b2 (patch)
tree282ad080018c2ea7bcb6a616dcd8c47e8ec51372
parent1961fa5cf76e91c424717fac26ac64d7ea8fc39e (diff)
downloadmeta-updater-aa02efc39ead71faa6708e01eae24f445df672b2.tar.gz
Fix pre-clean of repo manifests
Was causing problem with cache when updater-repo was updated Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
-rwxr-xr-xscripts/ci/checkout-oe.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/ci/checkout-oe.sh b/scripts/ci/checkout-oe.sh
index 523d71c..fdc0e48 100755
--- a/scripts/ci/checkout-oe.sh
+++ b/scripts/ci/checkout-oe.sh
@@ -19,9 +19,11 @@ mkdir -p updater-repo
19 19
20cd updater-repo 20cd updater-repo
21 21
22repo init -m "${MANIFEST}.xml" -u "$REMOTE_SOURCE/updater-repo" 22if [ -d .repo/manifests ]; then
23 git -C .repo/manifests reset --hard
24fi
23 25
24git -C .repo/manifests reset --hard 26repo init -m "${MANIFEST}.xml" -u "$REMOTE_SOURCE/updater-repo"
25 27
26# patch manifest: 28# patch manifest:
27# - add a new "ats" remote that points to "$REMOTE_SOURCE" 29# - add a new "ats" remote that points to "$REMOTE_SOURCE"