Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: experimental/webtry/setup/continue_install.sh

Issue 619943002: complete overhaul of webtry work partition between jail and host (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Replace missing pre-build of jpeg, etc1, flags Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/webtry/setup/continue_install ('k') | experimental/webtry/setup/continue_install_jail.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3cf54570ccc2eb8dee0292e3ecb94cd64d125736
--- /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://storage.googleapis.com/golang/go1.3.3.linux-amd64.tar.gz
+ tar -xzf go1.3.3.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
« no previous file with comments | « experimental/webtry/setup/continue_install ('k') | experimental/webtry/setup/continue_install_jail.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698