From 678e781029ed77a3321f3d9f3ddacf52c25f00f0 Mon Sep 17 00:00:00 2001 From: Georgy Redkozubov Date: Fri, 4 Oct 2013 12:37:52 +0400 Subject: Update repo tool to the latest --- node/build | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'node') 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 -- cgit v1.2.3