~smoser/cloud-init/lp-1077700

« back to all changes in this revision

Viewing changes to packages/bddeb

  • Committer: Scott Moser
  • Date: 2012-07-06 21:03:11 UTC
  • mto: This revision was merged to the branch mainline in revision 564.
  • Revision ID: smoser@ubuntu.com-20120706210311-lxirwxwd2fufebvv
setup.py: rename "daemon type" to "init system"

This brings with it other changes, and also makes an install
install all of the requisite init files. (ie, cloud-init needs the -local and
the non-local)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
}
30
30
 
31
31
 
32
 
def write_debian_folder(root, version, revno, daemon_type):
 
32
def write_debian_folder(root, version, revno, init_sys):
33
33
    deb_dir = util.abs_join(root, 'debian')
34
34
    os.makedirs(deb_dir)
35
35
    
67
67
    
68
68
    templater.render_to_file(util.abs_join('debian', 'rules'),
69
69
                             util.abs_join(deb_dir, 'rules'),
70
 
                             params={'daemon_type': daemon_type})
 
70
                             params={'init_sys': init_sys})
71
71
    
72
72
    # Just copy the following directly
73
73
    for base_fn in ['dirs', 'copyright', 'compat', 'pycompat']: