Friday 19 May 2023

Re: incoming change to task handling in livecd-rootfs in mantic

On Mon, 15 May 2023, 09:47 Michael Hudson-Doyle, <michael.hudson@canonical.com> wrote:
Hi all,

I've just uploaded a change[1] to livecd-rootfs that changes how the "add_task" function works.

It switches away from using the "Task" headers in the archive's package lists to find the packages (and snaps) that make up a task to reading the information directly from the output of germinate. 

I originally wrote this because I wanted to make an image from a rebuild archive (which don't have Task headers) but it also makes the handling of tasks that much more direct and hopefully a touch less confusing -- for example, changes to seeds will be reflected in image builds without having to wait for an archive publication cycle (it also removes two sequence of six consecutive backslashes from the source, which has to be a win).

Now this _should_ not result in any changes to the contents of images -- I've tested a few builds before landing and it all looks fine -- but to be sure we will hold this new version of livecd-rootfs in proposed until we have done a bunch more test images.

Hi again,

After a few rounds of fixups, this change passed all tests and has now migrated to release, so the next round of mantic image builds will be built with it. Let me know if you see anything strange in them!

Cheers,
mwh