OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/bash | |
2 # | |
3 # The continue_install script updates the jail's copy of depot tools and the lat est | |
4 # verion of skia. It then builds the skia libraries inside the jail, and builds the webtry | |
5 # server outside the jail. | |
6 # | |
7 # See the README file for detailed installation instructions. | |
8 | |
9 CHROOT_JAIL=/srv/chroot/webtry_gyp | |
10 sudo cp continue_install_jail.sh ${CHROOT_JAIL}/bin/continue_install_jail.sh | |
11 sudo chmod 755 ${CHROOT_JAIL}/bin/continue_install_jail.sh | |
12 sudo chroot ${CHROOT_JAIL} /bin/continue_install_jail.sh | |
13 sudo chown -R webtry:webtry ${CHROOT_JAIL}/skia_build/skia | |
14 cd | |
15 | |
16 # Install Go | |
17 if [ -d go ]; then | |
18 echo Go already installed. | |
19 else | |
20 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.
| |
21 tar -xzf go1.2.1.linux-amd64.tar.gz | |
22 fi | |
23 | |
24 mkdir ${HOME}/golib | |
25 export GOROOT=${HOME}/go | |
26 export GOPATH=${HOME}/golib | |
27 export PATH=$PATH:$GOROOT/bin | |
28 | |
29 cd skia/experimental/webtry | |
30 | |
31 go get -d | |
32 ./build | |
OLD | NEW |