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 | |
21 tar -xzf go1.2.1.linux-amd64.tar.gz | |
22 fi | |
23 export GOROOT=${HOME}/go | |
24 mkdir ${HOME}/golib | |
tfarina
2014/10/01 15:33:37
do you mind writing this as:
mkdir ${HOME}/golib
humper
2014/10/01 16:09:53
Done.
| |
25 export GOPATH=${HOME}/golib | |
26 | |
27 export PATH=$PATH:$GOROOT/bin | |
28 | |
29 cd skia/experimental/webtry | |
30 | |
31 go get -d | |
32 ./build | |
OLD | NEW |