blob: c195fec222f6eeda14ea8dc2e453e779e912d7b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Using sbuild with jenkins
=========================
apt-get install schroot sbuild
adduser jenkins sbuild
Configure chroots: ./schroot-config.sh (or run "make install")
Make sure there is enough swap
Enlarge (/var)/run in /etc/fstab:
tmpfs /run tmpfs size=12G 0 0
Make sure /run has enough (>= 500k) inodes (this was a problem on ppc64el)
Bind-Mount /var/tmp in /etc/schroot/sbuild/fstab, and remove /var/lib/sbuild/build there
Do not bind-mount /dev
Mount tmpfs in /dev/shm
default/fstab: as above, but bind-mount /home (for postgresql-testsuite)
sbuild-update --keygen
distribution=$dist architecture=$arch ./sbuild-update.sh
|