Changes between Version 7 and Version 8 of SettingUpABuildServer


Ignore:
Timestamp:
11/19/12 12:06:40 (11 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpABuildServer

    v7 v8  
    11 = Setting Up A Build Server = 
    22 
    3  *Note:* Every effort should be made to ensure that we use stock versions of the build tools wherever possible.  Where we can't, ensure that detailed build instructions, as well as a list of patches we apply, are available.  As of October 2012, we use stock versions of sbuild and schroot. 
     3'''Note:''' Every effort should be made to ensure that we use stock versions of the build tools wherever possible.  Where we can't, ensure that detailed build instructions, as well as a list of patches we apply, are available.  As of October 2012, we use stock versions of sbuild and schroot. 
    44 
    551. The build server should ideally be an Ubuntu LTS (as of Oct 2012, Precise).  Ops prefers Ubuntu to Debian testing/unstable/experimental because they already maintain Ubuntu LTS servers (the dialups).  It should have free space in an LVM volume group (ideally named "builder", but configurable in most cases).  The build chroots consume 4GB each, and there are 2 architectures for each distro we support.  As of Oct 2012, a 50G LVM is sufficient, but this may change in the future. 
     
    3535        
    3636       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. 
    37  
    38372. Make the home directory mode 700.   
    39383. Install a `daemon` keytab for the host (e.g. daemon/linux-build-10.mit.edu) in the home directory, named `keytab`.  Ensure that this principal also has a PTS id in both the `sipb` and `athena` cells, and add it to the list `debathena-build-server-acl`.  
     
    4443   ssh -l builder new-build-server gpg --import 
    4544}}} 
    46 You may transfer the key securely via another method, but ensure that the key is not left lying around anywhere.  (Even a correctly-ACL'd directory in AFS is not ideal). 
     45 You may transfer the key securely via another method, but ensure that the key is not left lying around anywhere.  (Even a correctly-ACL'd directory in AFS is not ideal). 
    47465.Create a file named `.sbuildrc` in builder's homedir containing: 
    4847{{{ 
     
    7069}}} 
    71706. Create a file named .ssh/config in builder's homedir containing: 
    72  
    7371{{{ 
    7472Host svn.mit.edu