aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/helpers
diff options
context:
space:
mode:
authorDanilo Šegan <danilo.segan@linaro.org>2012-10-26 12:09:38 +0200
committerDanilo Šegan <danilo.segan@linaro.org>2012-10-26 12:09:38 +0200
commit550d792ec32e0254ce8f9a92f56e1a68d97059c8 (patch)
tree385ea159f0f6e19b66777218a9985ca81d3c02ac /build-scripts/helpers
parentfb4f04ada553527a295e80ad631ef83e3074b948 (diff)
Add sanitization to build scripts.
Diffstat (limited to 'build-scripts/helpers')
-rw-r--r--build-scripts/helpers5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index be84f2c..bedb9a4 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -23,11 +23,16 @@ setup-repo-vars () {
repo-sync-from-mirror () {
setup-repo-vars
+
repo init $REPO_QUIET -u "${MANIFEST_REPO}" -b "${MANIFEST_BRANCH}" -m "${MANIFEST_FILENAME}" $REPO_MIRROR
# Save input manifest as build artifact for reference
mkdir -p out
cp .repo/manifest.xml out/source-manifest.xml
+ echo Replace Linaro git URLs with lightweight http git URLs.
+ ${BUILD_SCRIPT_ROOT}/sanitize-manifest.py .repo/manifest.xml > out/processed-manifest.xml
+ cp out/processed_manifest.xml .repo/manifest.xml
+
echo ----------------------------
time repo sync $REPO_QUIET -j$SYNC_JOBS
# Restore source manifest temporarily to create pinned manifest