update-source-catalog: Fix case where a variaton does not point at the base layer (i.e. most builds) (LP: #2033168)

canary-as-default
Michael Hudson-Doyle 1 year ago
parent 57fb4b2b04
commit a83925b8ac

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (23.10.24) UNRELEASED; urgency=medium
* update-source-catalog: Fix case where a variaton does not point at the
base layer (i.e. most builds) (LP: #2033168)
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Mon, 28 Aug 2023 10:39:52 +1200
livecd-rootfs (23.10.23) mantic; urgency=medium livecd-rootfs (23.10.23) mantic; urgency=medium
* i386 foreign-arch support was added for the canary image before 23.04 * i386 foreign-arch support was added for the canary image before 23.04

@ -44,7 +44,7 @@ for entry in output:
else: else:
# No entry with this id found, so add a new one. # No entry with this id found, so add a new one.
if template['variations']: if 'variations' in template:
for variation in template['variations'].values(): for variation in template['variations'].values():
if variation['path'] == opts.squashfs: if variation['path'] == opts.squashfs:
variation['size'] = int(opts.size) variation['size'] = int(opts.size)

Loading…
Cancel
Save