diff options
-rw-r--r-- | install.sh | 2 | ||||
-rw-r--r-- | tools.sh | 19 |
2 files changed, 18 insertions, 3 deletions
@@ -1,6 +1,8 @@ sudo apt-get install realpath sudo apt-get install curl sudo apt-get install ia32-libs +sudo apt-get install python + sudo bash -c "echo \"127.0.0.1 flexlm.linaro.org\" >> /etc/hosts" @@ -501,12 +501,25 @@ function buildrun() { bathsink } +function getorupdatemanifest() { + ./repo init -u ssh://$REMOTEUSER@linaro-private.git.linaro.org/srv/linaro-private.git.linaro.org/android/manifest.git -b linaro_android_4.2.2 -m vexpress-juice-aosp.xml + sed -i "s/linaro-big-little-switcher-bot/$REMOTEUSER/" .repo/manifest.xml + +} + +function tohttp { + wget http://bazaar.launchpad.net/~linaro-automation/linaro-android-build-tools/trunk/download/head:/sanitizemanifest.py-20121026100311-5cyxt3zk9wgvwohf-1/rewrite-manifest.py + + python rewrite-manifest.py .repo/manifest.xml > new-manifest.xml + mv new-manifest.xml .repo/manifest.xml + time ./repo sync +} + function getsource() { curl "http://android.git.linaro.org/gitweb?p=tools/repo.git;a=blob_plain;f=repo;hb=refs/heads/stable" > repo chmod +x repo - ./repo init -u ssh://$REMOTEUSER@linaro-private.git.linaro.org/srv/linaro-private.git.linaro.org/android/manifest.git -b linaro_android_4.2.2 -m vexpress-juice-aosp.xml - sed -i "s/linaro-big-little-switcher-bot/$REMOTEUSER/" .repo/manifest.xml - time ./repo sync # this may take some time + getorupdatemanifest + tohttp } export GETANDBUILD_DOC="Get all source, build everything and run" |