diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-07-06 18:02:34 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-07-06 18:02:34 -0700 |
commit | 8c484baa3d55d9deef97d6e191a9e420e4fde059 (patch) | |
tree | 2f1213f90d4518bf03c5fb741e78532e6055f3ef /packages/brpm | |
parent | c7aeea86fb8a17e4402cfc42626dfff2fb04c1a0 (diff) | |
download | vyos-cloud-init-8c484baa3d55d9deef97d6e191a9e420e4fde059.tar.gz vyos-cloud-init-8c484baa3d55d9deef97d6e191a9e420e4fde059.zip |
Got this working for 'brpm' again.
Diffstat (limited to 'packages/brpm')
-rwxr-xr-x | packages/brpm | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/packages/brpm b/packages/brpm index 7d0dc78f..b1a452fc 100755 --- a/packages/brpm +++ b/packages/brpm @@ -143,15 +143,10 @@ def generate_spec_contents(args, tmpl_fn): changelog_lines.append(line) subs['changelog'] = "\n".join(changelog_lines) - if args.boot == 'initd': - subs['init_d'] = True - subs['init_d_local'] = False - elif args.boot == 'initd-local': - subs['init_d'] = True - subs['init_d_local'] = True + if args.boot == 'sysvinit': + subs['sysvinit'] = True else: - subs['init_d'] = False - subs['init_d_local'] = False + subs['sysvinit'] = False if args.boot == 'systemd': subs['systemd'] = True |