Index: trunk/packages/invirt-dev/invirt-build-conf
===================================================================
--- trunk/packages/invirt-dev/invirt-build-conf	(revision 2578)
+++ trunk/packages/invirt-dev/invirt-build-conf	(revision 2579)
@@ -4,5 +4,6 @@
 
 This script generates the remctl ACL and configuration for each build
-pocket defined in the configuration.
+pocket defined in the configuration. It also updates the .k5login for
+the git user that developers can push through.
 """
 
@@ -27,4 +28,6 @@
 
 def main():
+    all_devs = set()
+
     # Python could really use a file-like object that gets written to
     # a temporary path and moved to its final resting place on
@@ -41,4 +44,6 @@
         print >>acl_fd, '\n'.join(userToPrinc(a) for a in acl)
 
+        all_devs.update(set(userToPrinc(a) for a in acl))
+
         acl_path = os.path.join('/etc/remctl/acl/build-%s' % pocket)
 
@@ -48,4 +53,8 @@
     os.rename(conf_name, '/etc/remctl/conf.d/build')
 
+    k5login_fd, k5login_name = tempfile.mkstemp()
+    k5login = os.fdopen(k5login_fd, 'r+')
+    print >>k5login, '\n'.join(all_devs)
+
 
 if __name__ == '__main__':
