~brian-murray/ubuntu-archive-tools/sort-series

« back to all changes in this revision

Viewing changes to copy-proposed-kernel

  • Committer: Andy Whitcroft
  • Date: 2017-10-19 11:06:50 UTC
  • Revision ID: apw@ubuntu.com-20171019110650-xce8p9fjgjav3ylh
copy-proposed-kernel: add support for security ppa2

Signed-off-by: Andy Whitcroft <apw@ubuntu.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
parser = argparse.ArgumentParser(description='Copy a proposed kernel to the apropriate archive pocket')
33
33
parser.add_argument('--dry-run', action='store_true', help='Do everything but actually copy the package')
34
34
parser.add_argument('--security', '-S', action='store_true', help='Copy from the kernel security PPA')
 
35
parser.add_argument('--security2', action='store_true', help='Copy from the kernel security PPA2')
35
36
parser.add_argument('--esm', '-E', action='store_true', help='Copy from the kernel ESM PPA and to the kernel ESM proposed PPA')
36
37
parser.add_argument('--no-auto', action='store_true', help='Turn off automatic detection of ESM et al based on series')
37
38
parser.add_argument('series', action='store', help='The series the source package is in')
58
59
    ppa_name = '~canonical-kernel-security-team/ubuntu/ppa'
59
60
    if not args.esm:
60
61
        security = True
 
62
if args.security2:
 
63
    ppa_name = '~canonical-kernel-security-team/ubuntu/ppa2'
 
64
    if not args.esm:
 
65
        security = True
61
66
 
62
67
(release, pkg) = (args.series, args.source)
63
68