aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-11-04 23:38:00 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-11-05 16:17:05 +0530
commit565b854ef15ecc050b0cf8fc4c6ffef83f865717 (patch)
tree5d294e6e39f90c0ecfe7cecb471db7634740362c
parent992f04cb1b37eac50b0aa035e75a5a8df618b71c (diff)
Add support to pull in local manifest
Change-Id: I63afe83e3ba1b465f2f38d5d0a12115861032454 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/helpers6
1 files changed, 6 insertions, 0 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index a175688..d421968 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -41,6 +41,12 @@ repo-sync-from-mirror () {
mkdir -p out
cp .repo/manifest.xml out/source-manifest.xml
+ if [ -n "$LOCAL_MANIFEST" ]; then
+ cd .repo/
+ git clone $LOCAL_MANIFEST
+ cd -
+ fi
+
if [ "$REWRITE_MANIFEST" != "0" ]; then
echo Replace Linaro git URLs with lightweight http git URLs.
${BUILD_SCRIPT_ROOT}/rewrite-manifest.py .repo/manifest.xml -o processed-manifest.xml -u "${MANIFEST_REPO}"