diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-07-25 17:03:55 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-07-25 17:03:55 -0400 |
commit | f8114e58dbbd84ec91a6fb8a8adec9be3bfbab52 (patch) | |
tree | 6c30f14fada642e8e331e40c901d7ce4036a532f /packages | |
parent | 4d9668dac5fed8f713f3b4300fdb574f399c14ee (diff) | |
parent | 60dfcb852c3dafdcf3563cc3e6c631dfbc2bafd8 (diff) | |
download | vyos-cloud-init-f8114e58dbbd84ec91a6fb8a8adec9be3bfbab52.tar.gz vyos-cloud-init-f8114e58dbbd84ec91a6fb8a8adec9be3bfbab52.zip |
add debian init scripts
These are debian's init scripts as taken from their trunk svn
as of today. Thanks Juerg.
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/bddeb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/bddeb b/packages/bddeb index 7ae07a80..15d424f2 100755 --- a/packages/bddeb +++ b/packages/bddeb @@ -95,12 +95,20 @@ def main(): default=False, action='store_true') + parser.add_argument("--init-system", dest="init_system", + help=("build deb with INIT_SYSTEM=xxx" + " (default: %(default)s"), + default=os.environ.get("INIT_SYSTEM", "upstart")) + + for ent in DEBUILD_ARGS: parser.add_argument(ent, dest="debuild_args", action='append_const', const=ent, help=("pass through '%s' to debuild" % ent)) args = parser.parse_args() + os.environ['INIT_SYSTEM'] = args.init_system + capture = True if args.verbose: capture = False |