mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-25 18:01:17 +00:00
live-build/expand-task: handle seeding of classic snaps correctly.
This commit is contained in:
parent
7c4fb6b804
commit
8704aafecc
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -8,6 +8,7 @@ livecd-rootfs (2.838) UNRELEASED; urgency=medium
|
||||
Cross flavour task references do not work with the approach expand-task
|
||||
takes, and the ubuntu-desktop-minimal package is part of the
|
||||
edubuntu-desktop-gnome task already.
|
||||
* live-build/expand-task: handle seeding of classic snaps correctly.
|
||||
|
||||
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Wed, 17 May 2023 13:24:43 +1200
|
||||
|
||||
|
@ -77,7 +77,10 @@ for seedtext in glob.glob(f'{args.output_dir}/*.seedtext'):
|
||||
for seed in getTaskSeeds(hs, seedname):
|
||||
for line in open(f'{args.output_dir}/{seed}{ext}'):
|
||||
if re.match('^[a-z0-9]', line):
|
||||
print(line.split()[0])
|
||||
name = line.split()[0]
|
||||
if args.what == 'snaps' and '(classic)' in line:
|
||||
name += '/classic'
|
||||
print(name)
|
||||
break
|
||||
else:
|
||||
raise Exception("did not find task %r" % (args.task,))
|
||||
|
Loading…
x
Reference in New Issue
Block a user