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

Issue 626443004: Update webtry setup docs to reflect new installation procedure (Closed)

Created:
6 years, 2 months ago by humper
Modified:
6 years, 2 months ago
Reviewers:
tfarina, mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Update webtry setup docs to reflect new installation procedure BUG=skia: Committed: https://skia.googlesource.com/skia/+/f0e2154b45ab2bb0d7fa5a9d38955260ce42831c

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix doc formatting / numbering #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -19 lines) Patch
M experimental/webtry/README.md View 1 3 chunks +11 lines, -19 lines 10 comments Download

Messages

Total messages: 11 (2 generated)
humper
ptal; I just checked that this procedure now works from scratch.
6 years, 2 months ago (2014-10-02 17:12:37 UTC) #2
tfarina
https://codereview.chromium.org/626443004/diff/1/experimental/webtry/README.md File experimental/webtry/README.md (left): https://codereview.chromium.org/626443004/diff/1/experimental/webtry/README.md#oldcode84 experimental/webtry/README.md:84: sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry Isn't debootstrap necessary anymore? ...
6 years, 2 months ago (2014-10-02 17:16:13 UTC) #3
humper
https://codereview.chromium.org/626443004/diff/1/experimental/webtry/README.md File experimental/webtry/README.md (left): https://codereview.chromium.org/626443004/diff/1/experimental/webtry/README.md#oldcode84 experimental/webtry/README.md:84: sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry On 2014/10/02 17:16:13, tfarina ...
6 years, 2 months ago (2014-10-02 17:20:25 UTC) #4
mtklein
On 2014/10/02 17:12:37, humper wrote: > ptal; I just checked that this procedure now works ...
6 years, 2 months ago (2014-10-02 17:21:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/626443004/20001
6 years, 2 months ago (2014-10-02 17:22:52 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as f0e2154b45ab2bb0d7fa5a9d38955260ce42831c
6 years, 2 months ago (2014-10-02 17:37:18 UTC) #8
tfarina
https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/README.md File experimental/webtry/README.md (left): https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/README.md#oldcode84 experimental/webtry/README.md:84: sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry OK. This is done ...
6 years, 2 months ago (2014-10-02 17:56:27 UTC) #9
tfarina
https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/README.md File experimental/webtry/README.md (right): https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/README.md#newcode54 experimental/webtry/README.md:54: none /run/shm tmpfs rw,nosuid,nodev,noexec 0 0 Should we do ...
6 years, 2 months ago (2014-10-02 18:55:27 UTC) #10
humper
6 years, 2 months ago (2014-10-02 20:43:15 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/READ...
File experimental/webtry/README.md (left):

https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/READ...
experimental/webtry/README.md:84: sudo debootstrap --variant=minbase wheezy
/srv/chroot/webtry
On 2014/10/02 17:56:27, tfarina wrote:
> OK. This is done by webtry_setup.sh with:
> 
> sudo debootstrap --variant=minbase wheezy ${CHROOT_JAIL}

Acknowledged.

https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/READ...
File experimental/webtry/README.md (right):

https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/READ...
experimental/webtry/README.md:50: 2. sudo apt-get install git schroot
debootstrap
On 2014/10/02 17:56:27, tfarina wrote:
> As you noted, schroot and debootstrap are also installed by webtry_setup.sh ->
>
https://skia.googlesource.com/skia/+/master/experimental/webtry/setup/webtry_...

Done.

https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/READ...
experimental/webtry/README.md:52: 3. Add the following to the
/etc/schroot/minimal/fstab:
On 2014/10/02 17:56:27, tfarina wrote:
> Does this needs to happen before we call webtry_setup.sh?

Not really -- the setup scripts just use regular chroot, since the schroot
environment isn't really set up yet :)

https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/READ...
experimental/webtry/README.md:54: none /run/shm tmpfs rw,nosuid,nodev,noexec 0 0
On 2014/10/02 18:55:27, tfarina wrote:
> Should we do this in the script as well rather than by hand?
> 
> We write a line like this to '/srv/chroot/webtry_gyp/etc/fstab' at line 32:
>
https://skia.googlesource.com/skia/+/master/experimental/webtry/setup/webtry_...

Well, line 32 only runs once, when the chroot is very first set up.  Since the
setup script can be run multiple times (to update the source code), I didn't
want to do it that way.

We *could* say that webtry_setup.sh is used for one-time-only setup, and after
that you run the continue_install.sh script to update skia; that would be OK. 
If you think that's worthwhile, feel free to file a bug and I'll do it.

https://codereview.chromium.org/626443004/diff/20001/experimental/webtry/READ...
experimental/webtry/README.md:78: sudo bash -c 'echo 60 >
/proc/sys/net/ipv4/tcp_keepalive_time'
On 2014/10/02 17:56:27, tfarina wrote:
> s/bash/sh?

Done.

Powered by Google App Engine
This is Rietveld 408576698