aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/create-user-build-script
diff options
context:
space:
mode:
authorAxel Fagerstedt <axel.fagerstedt@linaro.org>2012-12-28 10:29:09 +0100
committerMilo Casagrande <milo@ubuntu.com>2012-12-28 10:29:09 +0100
commitb6324c6bd2eb2a927b0cb7bbb1855cdab8d93774 (patch)
tree1f99f23e2a3bfc07b44bec23f1c4eb24ebec240c /build-scripts/create-user-build-script
parente4bab7153c422f724a763c004d1198ff4df6d81f (diff)
parent831e5615e8c4d05d47ee26309e0d1d57b4cb8d1d (diff)
Added support for specifying REPO_GROUPS in build parameters.
Diffstat (limited to 'build-scripts/create-user-build-script')
-rwxr-xr-xbuild-scripts/create-user-build-script7
1 files changed, 6 insertions, 1 deletions
diff --git a/build-scripts/create-user-build-script b/build-scripts/create-user-build-script
index 09ba8d9..870ddfb 100755
--- a/build-scripts/create-user-build-script
+++ b/build-scripts/create-user-build-script
@@ -165,13 +165,18 @@ sync_commands()
else
CP_CMD="curl -k ${PINNED_MANIFEST_URL}/pinned-manifest.xml > .repo/manifest.xml"
fi
+ if [ "$REPO_GROUPS" != "all,-notdefault,-eclipse" ]; then
+ REPO_GROUPS_OPTION="-g $REPO_GROUPS"
+ else
+ REPO_GROUPS_OPTION=""
+ fi
cat <<EOF
# download the repo tool for android
curl "http://android.git.linaro.org/gitweb?p=tools/repo.git;a=blob_plain;f=repo;hb=refs/heads/stable" > repo
chmod +x repo
# download the android code
-./repo init -u \${MANIFEST_REPO} -b \${MANIFEST_BRANCH} -m \${MANIFEST_FILENAME} ${REPO_MIRROR}
+./repo init -u \${MANIFEST_REPO} -b \${MANIFEST_BRANCH} -m \${MANIFEST_FILENAME} ${REPO_MIRROR} $REPO_GROUPS_OPTION
if [ \${EXACT} -eq 1 ] ; then
rm .repo/manifest.xml
$CP_CMD