incoming change to task handling in livecd-rootfs in mantic

Michael Hudson-Doyle michael.hudson at canonical.com
Sun May 14 21:47:15 UTC 2023


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.

Cheers,
mwh

[1]
https://code.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs/+merge/425047
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20230515/5d552f58/attachment.html>


More information about the ubuntu-devel mailing list