Changes between Version 4 and Version 5 of SettingUpABuildServer


Ignore:
Timestamp:
10/30/12 11:53:04 (11 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpABuildServer

    v4 v5  
    14145. Append to /etc/approx/approx.conf the contents of `scripts/build-server/approx.conf.tail`.  Restart approx (as of precise, approx is run from inetd). 
    1515 
    16      Run: /etc/init.d/approx restart 
    1716 
    18 Nope, approx is now run from inetd.  Restart that instead 
    1917 
    2018  7. Apply scripts/build-server/mount-defaults.patch and 
     
    4341 
    4442     Example: scripts/build-server/make-chroot intrepid i386 
    45   9. Create a local account for builder with: 
    4643 
    47        adduser --uid 1047 --disabled-password builder 
     44 == Configuring the `builder` account == 
    4845 
    49      Make the home directory mode 700.  Install a 
    50      daemon/linux-build-10.mit.edu keytab in the home directory as 
     461. Create a local account for builder with: 
     47 
     48       `adduser --uid 1047 --disabled-password builder` 
     49        
     50       N.B. In the old days, the UID was relevant for AFS and matching Hesiod.  With OpenAFS 1.6, it is likely no longer relevant, but double-checking never hurt. 
     51 
     52 * Make the home directory mode 700.   
     53 * Install a daemon/linux-build-10.mit.edu keytab in the home directory as 
    5154     "keytab".  Install a copy of the secret repository-signing key 
    5255     (debathena@mit.edu) in the home directory's keyring with 
     
    5760         ssh -l builder machinename gpg --import 
    5861 
    59      Create a file named .sbuildrc in builder's homedir containing: 
    60  
    61        $mailto = undef; 
    62        $log_dir = '/tmp/sbuild-logs'; 
    63        $maintainer_name = 'Debathena Project <debathena@mit.edu>'; 
    64        $force_orig_source = 1; 
    65        $sbuild_mode = "user"; 
    66        1; 
     62  * Create a file named `.sbuildrc` in builder's homedir containing: 
     63{{{ 
     64$mailto = undef; 
     65$log_dir = '/tmp/sbuild-logs'; 
     66$maintainer_name = 'Debathena Project <debathena@mit.edu>'; 
     67$force_orig_source = 1; 
     68$sbuild_mode = 'user'; 
     69# Pass all DEBATHENA-specific variables to external commands 
     70# (e.g. chroot-sources) 
     71$environment_filter = [ '^DEBATHENA_', ]; 
     72# Ensure file evaluates as true in Perl 
     731; 
     74}}} 
    6775 
    6876     Create a file named .ssh/config in builder's homedir containing: