Changeset 3040 for trunk/packages
- Timestamp:
- Jul 6, 2010, 12:28:10 AM (14 years ago)
- Location:
- trunk/packages/invirt-dev
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/invirt-build-conf
r3039 r3040 54 54 print >>f, 'build %s %s %s' % (pocket, build_handler, acl_path(pocket)) 55 55 56 os.rename(conf_name, '/etc/remctl/conf.d/build') 56 with atomic_write('/etc/remctl/acl/repo_admin') as f: 57 acl = authz.expandAdmin(config.build.repo_admin, None) 58 print >>f, '\n'.join(userToPrinc(a) for a in acl) 57 59 58 k5login_fd, k5login_name = tempfile.mkstemp() 59 k5login = os.fdopen(k5login_fd, 'r+') 60 print >>k5login, '\n'.join(all_devs) 60 with atomic_write('/etc/remctl/conf.d/repo_admin') as f: 61 print >>f, 'create repo /usr/bin/invirt-add-repo /etc/remctl/acl/repo_admin' 61 62 62 63 with atomic_write(os.path.join(builder._REPO_DIR, '.k5login')) as f: -
trunk/packages/invirt-dev/setup.py
r2637 r3040 22 22 py_modules = ['invirt.builder'], 23 23 package_dir = {'': 'python'}, 24 scripts = ['invirtibuilder', 'invirt-build-conf', 'invirt-submit-build' ]24 scripts = ['invirtibuilder', 'invirt-build-conf', 'invirt-submit-build', 'invirt-add-repo'] 25 25 )
Note: See TracChangeset
for help on using the changeset viewer.