Changes between Version 1 and Version 2 of SettingUpABuildServer
- Timestamp:
- 10/24/12 16:44:26 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SettingUpABuildServer
v1 v2 4 4 volume group. The build chroots consume 4GB each. 5 5 6 As of Oct 2012, we're using Precise, and we should prefer an Ubuntu LTS to Debian testing or unstable or experimental, per Ops' preferences. 7 6 8 2. Install debathena-login as per the the instructions in 7 9 http://debathena.mit.edu/install. 8 10 11 12 13 add the apt-key (though 9 14 3. apt-key add 10 15 /afs/sipb.mit.edu/project/debathena/apt/debathena-archive-keyring.asc 11 16 17 For maximum paranoia, run apt-key export on the old build server and then apt-key add on the new one. 18 12 19 4. Install the packages listed in scripts/build-server/packages 13 20 (using "aptitude install"). 21 22 Or apt-get install, until aptitude becomes less stupid about Multiarch support. 14 23 15 24 Note that currently the build system uses the latest version of … … 19 28 Debian experimental. 20 29 30 Also, WTF, why are these not part of debathena-build-depends or debathena-debian-dev or whatever? 31 21 32 5. Install the aufs-modules-2.6-amd64 package. 33 34 No, we now use overlayfs. Also, both overlayfs and aufs are in the standard kernel packages. 35 22 36 23 37 6. Append to /etc/approx/approx.conf the contents of … … 25 39 Run: /etc/init.d/approx restart 26 40 41 Nope, approx is now run from inetd. Restart that instead 42 27 43 7. Apply scripts/build-server/mount-defaults.patch and 44 45 No, just add the AFS line: 46 47 /afs /afs none rw,bind 0 0 48 28 49 scripts/build-server/pam-schroot.patch. 50 Unneeded, schroot ships with the correct pam config. 51 52 Ensure that schroot's pam-config is sane (Specifically, that it includes the usual pam 53 stack, e.g. 54 @include common-auth 55 @include common-account 56 @include common-session 57 58 59 TODO: Deal with the /run mess once that's finalized. 60 29 61 30 62 8. For each supported DIST (see scripts/debian-versions.sh) run: