From 565b854ef15ecc050b0cf8fc4c6ffef83f865717 Mon Sep 17 00:00:00 2001 From: Vishal Bhoj Date: Tue, 4 Nov 2014 23:38:00 +0530 Subject: Add support to pull in local manifest Change-Id: I63afe83e3ba1b465f2f38d5d0a12115861032454 Signed-off-by: Vishal Bhoj --- build-scripts/helpers | 6 ++++++ 1 file changed, 6 insertions(+) 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}" -- cgit v1.2.3