summaryrefslogtreecommitdiff
path: root/packages/brpm
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-07-09 15:42:20 -0400
committerScott Moser <smoser@ubuntu.com>2012-07-09 15:42:20 -0400
commitcf1fa7219724c7192ebfb35e9a0796bf84dd9b26 (patch)
tree9c63cfe2ec80ca9be8db812b3e74d848358ad9fa /packages/brpm
parent7cd3e340264365c2e968b72cce78db9ff74b24a7 (diff)
parent8c484baa3d55d9deef97d6e191a9e420e4fde059 (diff)
downloadvyos-cloud-init-cf1fa7219724c7192ebfb35e9a0796bf84dd9b26.tar.gz
vyos-cloud-init-cf1fa7219724c7192ebfb35e9a0796bf84dd9b26.zip
get 'brpm' working again. update make-tarball to have a top level dir.
Diffstat (limited to 'packages/brpm')
-rwxr-xr-xpackages/brpm11
1 files changed, 3 insertions, 8 deletions
diff --git a/packages/brpm b/packages/brpm
index afd7016f..99288ce9 100755
--- a/packages/brpm
+++ b/packages/brpm
@@ -142,15 +142,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