diff options
author | Zach Pfeffer <zach.pfeffer@linaro.org> | 2013-02-28 13:41:30 -0600 |
---|---|---|
committer | Zach Pfeffer <zach.pfeffer@linaro.org> | 2013-02-28 13:41:30 -0600 |
commit | ce057aad73e556d03e62cfc320549bb310b18091 (patch) | |
tree | 7c550067167bdb2ad8bd93b45344ad1c228d1df7 | |
parent | 43cd0a24597fc63b3efb74c576264c749838160b (diff) | |
download | at-ce057aad73e556d03e62cfc320549bb310b18091.tar.gz |
Add tohttp to transform a manifest
Signed-off-by: Zach Pfeffer <zach.pfeffer@linaro.org>
-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" |