3 Register SSH public key to Gerrit and SBS APT server.
4 Make SSH private key available to Buildbot, both master and slave.
8 ~$ sudo apt-get install python-virtualenv python-pip python-dev
11 ~/buildbot$ . bin/activate
15 (buildbot)~/buildbot$ pip install buildbot
16 (buildbot)~/buildbot$ buildbot create-master master
17 (buildbot)~/buildbot$ ln -s ~/slp/pkgs/w/webkit-efl/tizen-scripts/tizen-buildbot/master/* master
18 (buildbot)~/buildbot$ buildbot start master
20 To speed up initial checkout for GitPoller (not currently used):
22 ~/buildbot/master$ git clone ~/slp/pkgs/w/webkit-efl gitpoller
23 ~/buildbot/master$ cp ~/slp/pkgs/w/webkit-efl/.git/config gitpoller/.git
25 For publishing build results, /var/www should be writable by Buildbot master,
26 and served as the web root.
30 (buildbot)~/buildbot$ pip install buildbot-slave
31 (buildbot)~/buildbot$ buildslave create-slave slave01 165.213.206.180:10000 slave01 password
32 (buildbot)~/buildbot$ buildslave start slave01
34 Edit slave01/info/{admin,host}.
36 To speed up initial checkout:
38 ~/buildbot/slave01$ git clone ~/slp/pkgs/w/webkit-efl gerrit/build
39 ~/buildbot/slave01$ touch gerrit/build/.buildbot-sourcedata
41 SBS uses ccache to speed up build, but the default size of 1 GiB is too small for WebKit.
42 10 GiB is recommended.
46 dpkg uses TMPDIR while creating binary packages. In recent Linux distributions
47 default TMPDIR /tmp is mounted as tmpfs. As tmpfs is a memory file system,
48 by default its size is set to certain percentage of physical memory.
50 This speeds up build, but it can cause disk full error(ENOSPC) or memory full
51 error(ENOMEM). There are two solutions:
53 * Disable tmpfs for /tmp
55 This can be done by setting RAMTMP to no in rcS. Read rcS(5) for details.
57 * Ensure tmpfs on /tmp has enough space
59 This can be done by fstab entry like the following. Read mount(8) for other
60 mount options. At least 1 GiB is recommended for size.
62 tmpfs /tmp tmpfs nodev,nosuid,size=1g 0 0