aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/helpers
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2014-03-07 11:42:51 +0800
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2014-03-07 11:42:51 +0800
commit68f3c0400f0793585426a4f4aecb3f652e5c1c60 (patch)
tree20320250e12deac6c06b0255140e5e2f106e3820 /build-scripts/helpers
parentf5f48c38b6c74a93829fe8e224eacc20ed3f51d7 (diff)
rewrite-manifest.py: Handle manifests with relative fetch URLs.
This requires passing manifest repository URL to the rewriting script. This should fix lp:1287618. Change-Id: Icf54e2e96185301f66e77b7fea2ed1ff313a1ef7
Diffstat (limited to 'build-scripts/helpers')
-rw-r--r--build-scripts/helpers4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index 2c67f98..5a2ad9d 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -42,7 +42,7 @@ repo-sync-from-mirror () {
cp .repo/manifest.xml out/source-manifest.xml
echo Replace Linaro git URLs with lightweight http git URLs.
- ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml > processed-manifest.xml
+ ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml -o processed-manifest.xml -u "${MANIFEST_REPO}"
cp processed-manifest.xml .repo/manifest.xml
echo ----------------------------
@@ -75,7 +75,7 @@ repo-sync-from-seed () {
cp .repo/manifest.xml out/source-manifest.xml
echo Replace Linaro git URLs with lightweight http git URLs.
- ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml > processed-manifest.xml
+ ${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml -o processed-manifest.xml -u "${MANIFEST_REPO}"
cp processed-manifest.xml .repo/manifest.xml
export TIMEFORMAT="TIME: Repo sync (using seed as reference): %lR"