Merge lp:~xnox/ubuntu-archive-tools/riscv64 into lp:ubuntu-archive-tools

Proposed by Dimitri John Ledkov
Status: Merged
Merge reported by: Steve Langasek
Merged at revision: not available
Proposed branch: lp:~xnox/ubuntu-archive-tools/riscv64
Merge into: lp:ubuntu-archive-tools
Diff against target: 34 lines (+5/-5)
1 file modified
component-mismatches (+5/-5)
To merge this branch: bzr merge lp:~xnox/ubuntu-archive-tools/riscv64
Reviewer Review Type Date Requested Status
Matthias Klose Approve
Review via email: mp+382573@code.launchpad.net

Commit message

Correctly add riscv64 to components-mismatches

untested, no unsplit mirror

Description of the change

Correctly add riscv64 to components-mismatches

untested, no unsplit mirror

To post a comment you must log in.
Revision history for this message
Matthias Klose (doko) wrote :

done

review: Approve
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Please mark this as merged in rev 1311, i think it got rebased.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'component-mismatches'
2--- component-mismatches 2020-04-16 15:42:24 +0000
3+++ component-mismatches 2020-04-20 11:07:46 +0000
4@@ -136,9 +136,7 @@
5 components_with_di.append('%s/debian-installer' % component)
6 for suite in options.suites:
7 for component in components_with_di:
8- for arch in [
9- "i386", "amd64", "armhf", "arm64", "ppc64el", "riscv64"
10- "s390x"]:
11+ for arch in options.architectures:
12 binaries_path = "%s/dists/%s/%s/binary-%s/Packages.gz" % (
13 options.archive_dir, suite, component, arch)
14 for section in apt_pkg.TagFile(decompress_open(binaries_path)):
15@@ -179,8 +177,7 @@
16 # ideally supported+build-depends too, but Launchpad's
17 # cron.germinate doesn't save this
18
19- for arch in ["i386", "amd64", "armhf", "arm64", "ppc64el",
20- "s390x"]:
21+ for arch in options.architectures:
22 for seed in seeds:
23 filename = "%s/%s_%s_%s_%s" % (
24 options.germinate_path, seed, flavour, options.suite, arch)
25@@ -878,6 +875,9 @@
26 else:
27 options.suites = [options.suite]
28
29+ options.series = options.distro.getSeries(name_or_version=options.suites[0])
30+ options.architectures = [a.architecture_tag for a in options.series.architectures]
31+
32 if options.output_file is not None:
33 sys.stdout = open('%s.new' % options.output_file, 'w')
34 if options.html_output_file is not None:

Subscribers

People subscribed via source and target branches