source: trunk/debian/packages/README.mini-buildd @ 892

Last change on this file since 892 was 814, checked in by amain, 3 years ago

Update mini-buildd instructions

File size: 1.9 KB
Line 
1Installation considerations mini-buildd
2
3* Mini-buildd remotes registration
4  * Is **not** done on configured hostname of the daemon, but on
5    configured identity. Somehow the identity and I suspect the domain part
6    of the fully qualified hostname are used. Make sure not to chance the
7    identity name after setting up the daemon. You're in for trouble.
8
9* Use jessie-backport, jessie-ab-snapshot and jessie-ab-stable(reprepro) for
10  packages with latest patches:
11  * apt-get install -t jessie-backports debootstrap schroot sbuild
12  * apt-get install -t jessie-ab-snapshot mini-buildd
13  * apt-get install -t jessie-ab-stable reprepro
14  * current: 1.0.25snap20161124
15
16* Install kernel with layer filesystem support (from jessie-backports)
17  * apt-get install linux-image-4.7.0-0.bpo.1-amd64
18
19* Make sure to install each mini-buildd instance into the same home directory
20  and has similar version, to prevent:
21  * ccache: error: Failed to create directory
22    ..../mini-buildd/var/chroots/stretch/mips/libdir/.ccache/tmp: Permission
23    denied
24  * update /etc/schroot/mini-buildd/fstab* to contain correct paths (are not
25    auto updated) in case the chroot source dir was moved.
26
27* Qemu
28
29  * Don't use latest stretch qemu, downgrade (HTTP connection issues)
30  * Install qemu from jessie-backport, to prevent Unsupported syscall 5354 and
31    hanging make clean on stretch (and probably sid):
32    * apt-get install -t jessie-backports qemu-user-static
33    * current: 1:2.7+dfsg-3~bpo8+ (from 2.1 @ jessie)
34  * When creating a chroot:
35    * Use qemu 2.1 (see .deb) for jessie-mips (jessie mipsel works fine)
36    * Use qemu 2.7 for all other
37    * During qemu-debootstrap automatically a /usr/bin/qemu-ARCH-static, the working
38      version, is installed into /usr/bin of the chroot
39    * Bug tracking: https://bugs.launchpad.net/qemu/+bug/1643619
40
41* Mini-buildd patch
42  * see mini-buildd-schroot-post-setup.sh
43
44
Note: See TracBrowser for help on using the repository browser.