diff options
Diffstat (limited to 'node/build')
-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 |