~laney/ubuntu-archive-tools/generate-release-schedule

« back to all changes in this revision

Viewing changes to component-mismatches

  • Committer: Matthias Klose
  • Date: 2020-04-20 13:10:51 UTC
  • Revision ID: doko@ubuntu.com-20200420131051-eud0rwk91q6ioopt
Correctly add riscv64 to components-mismatches (xnox)

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
        components_with_di.append('%s/debian-installer' % component)
137
137
    for suite in options.suites:
138
138
        for component in components_with_di:
139
 
            for arch in [
140
 
                    "i386", "amd64", "armhf", "arm64", "ppc64el", "riscv64"
141
 
                    "s390x"]:
 
139
            for arch in options.architectures:
142
140
                binaries_path = "%s/dists/%s/%s/binary-%s/Packages.gz" % (
143
141
                    options.archive_dir, suite, component, arch)
144
142
                for section in apt_pkg.TagFile(decompress_open(binaries_path)):
179
177
        # ideally supported+build-depends too, but Launchpad's
180
178
        # cron.germinate doesn't save this
181
179
 
182
 
        for arch in ["i386", "amd64", "armhf", "arm64", "ppc64el",
183
 
                     "s390x"]:
 
180
        for arch in options.architectures:
184
181
            for seed in seeds:
185
182
                filename = "%s/%s_%s_%s_%s" % (
186
183
                    options.germinate_path, seed, flavour, options.suite, arch)
878
875
    else:
879
876
        options.suites = [options.suite]
880
877
 
 
878
    options.series = options.distro.getSeries(name_or_version=options.suites[0])
 
879
    options.architectures = [a.architecture_tag for a in options.series.architectures]
 
880
 
881
881
    if options.output_file is not None:
882
882
        sys.stdout = open('%s.new' % options.output_file, 'w')
883
883
    if options.html_output_file is not None: