Chromium Code Reviews| Index: experimental/webtry/setup/continue_install.sh |
| diff --git a/experimental/webtry/setup/continue_install.sh b/experimental/webtry/setup/continue_install.sh |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..05b87caba6e63d770f886e1bb656bce8c20c0c11 |
| --- /dev/null |
| +++ b/experimental/webtry/setup/continue_install.sh |
| @@ -0,0 +1,32 @@ |
| +#!/bin/bash |
| +# |
| +# The continue_install script updates the jail's copy of depot tools and the latest |
| +# verion of skia. It then builds the skia libraries inside the jail, and builds the webtry |
| +# server outside the jail. |
| +# |
| +# See the README file for detailed installation instructions. |
| + |
| +CHROOT_JAIL=/srv/chroot/webtry_gyp |
| +sudo cp continue_install_jail.sh ${CHROOT_JAIL}/bin/continue_install_jail.sh |
| +sudo chmod 755 ${CHROOT_JAIL}/bin/continue_install_jail.sh |
| +sudo chroot ${CHROOT_JAIL} /bin/continue_install_jail.sh |
| +sudo chown -R webtry:webtry ${CHROOT_JAIL}/skia_build/skia |
| +cd |
| + |
| +# Install Go |
| +if [ -d go ]; then |
| + echo Go already installed. |
| +else |
| + wget https://go.googlecode.com/files/go1.2.1.linux-amd64.tar.gz |
|
jcgregorio
2014/10/01 16:39:50
Can we upgrade to 1.3.3?
humper
2014/10/01 17:02:44
I don't see why not.
Done.
|
| + tar -xzf go1.2.1.linux-amd64.tar.gz |
| +fi |
| + |
| +mkdir ${HOME}/golib |
| +export GOROOT=${HOME}/go |
| +export GOPATH=${HOME}/golib |
| +export PATH=$PATH:$GOROOT/bin |
| + |
| +cd skia/experimental/webtry |
| + |
| +go get -d |
| +./build |