diff options
author | Georgy Redkozubov <georgy.redkozubov@linaro.org> | 2013-10-04 12:37:52 +0400 |
---|---|---|
committer | Georgy Redkozubov <georgy.redkozubov@linaro.org> | 2013-10-04 12:37:52 +0400 |
commit | 678e781029ed77a3321f3d9f3ddacf52c25f00f0 (patch) | |
tree | 9bd904b8316c741d2f88669b06ce358891e08f37 /node | |
parent | 1d53a142cd6fe3a4c7fe49c46a9210ed9d2499cd (diff) |
Update repo tool to the latest
Diffstat (limited to 'node')
-rwxr-xr-x | node/build | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |