aboutsummaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorGeorgy Redkozubov <georgy.redkozubov@linaro.org>2013-10-04 12:37:52 +0400
committerGeorgy Redkozubov <georgy.redkozubov@linaro.org>2013-10-04 12:37:52 +0400
commit678e781029ed77a3321f3d9f3ddacf52c25f00f0 (patch)
tree9bd904b8316c741d2f88669b06ce358891e08f37 /node
parent1d53a142cd6fe3a4c7fe49c46a9210ed9d2499cd (diff)
Update repo tool to the latest
Diffstat (limited to 'node')
-rwxr-xr-xnode/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/node/build b/node/build
index 3e10a71..6022a2a 100755
--- a/node/build
+++ b/node/build
@@ -12,6 +12,8 @@
# $2 = build CONFIG, base64-encoded
#
+REPO_TOOL_URL="http://android.git.linaro.org/gitweb?p=tools/repo.git;a=blob_plain;f=repo;hb=refs/heads/stable"
+
# Dump system release to build log
echo
cat /etc/issue
@@ -27,6 +29,14 @@ function get_ramdisk_size () {
EOF
}
+function update-repo-tool () {
+ curl ${REPO_TOOL_URL} > /tmp/repo
+ chmod a+x /tmp/repo
+ mv /tmp/repo /usr/local/bin/repo
+}
+
+update-repo-tool
+
BUILD_SCRIPT_ROOT=$(readlink -f "$(dirname "${0}")/../build-scripts")
mkdir -p /var/run/build-tools
if ! $BUILD_SCRIPT_ROOT/../node/prepare_build_config.py --base64 "$2"; then