diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-06-07 09:56:53 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-06-07 09:56:53 +0200 |
commit | ea26f0adcd24c4cb3b00064a2bd8691acda5ae8a (patch) | |
tree | be5959a1911aec9c05c1062c46193cfdc60fe7b5 /packages | |
parent | 3f4d7d4f1fd946b8b6c6c490cb284a58eb6f695e (diff) | |
download | vyos-cloud-init-ea26f0adcd24c4cb3b00064a2bd8691acda5ae8a.tar.gz vyos-cloud-init-ea26f0adcd24c4cb3b00064a2bd8691acda5ae8a.zip |
allow others to sign dsc with --signuser for packages/bddeb
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/bddeb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/bddeb b/packages/bddeb index 1b0f642c..f8de7b42 100755 --- a/packages/bddeb +++ b/packages/bddeb @@ -148,11 +148,17 @@ def main(): parser.add_argument("--sign", default=False, action='store_true', help="sign result. do not pass -us -uc to debuild") + parser.add_argument("--signuser", default=False, action='store', + help="user to sign, see man dpkg-genchanges") + args = parser.parse_args() if not args.sign: args.debuild_args.extend(['-us', '-uc']) + if args.signuser: + args.debuild_args.extend(['-e%s' % args.signuser]) + os.environ['INIT_SYSTEM'] = args.init_system capture = True |