`disk-image` not granular enough, often builds unused artifacts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Ivan Kapelyukhin | ||
Bionic |
Fix Released
|
Undecided
|
Ivan Kapelyukhin | ||
Focal |
Fix Released
|
Undecided
|
Ivan Kapelyukhin | ||
Impish |
Fix Released
|
Undecided
|
Ivan Kapelyukhin |
Bug Description
[Impact]
* Due to how `disk-image` series file in `ubuntu-cpc` is structured, it builds BIOS and UEFI images at the same time. However, certain images (e.g., GCE images) require only UEFI image to be built, BIOS image is being simply discarded. This results in longer build times.
[Test Plan]
* Build any image that depends on `disk-image` (e.g. a GCE image) with `livefs-build` or `ubuntu-bartender`
* Read build logs and observe what build artifacts are produced: `disk.ext4` is the BIOS image and `disk-uefi.ext4` is the UEFI image
[Where problems could occur]
* Due to changes in the `disk-images` series file the order in which BIOS and UEFI image are built has changed, if there's something sensitive to the order in which those artifacts are built it might break
[Other Info]
* CPC images will be switched from `disk-image` to `disk-image-uefi` once the update is released
description: | updated |
Changed in livecd-rootfs (Ubuntu): | |
assignee: | nobody → Ivan Kapelyukhin (ikapelyukhin) |
Changed in livecd-rootfs (Ubuntu Bionic): | |
assignee: | nobody → Ivan Kapelyukhin (ikapelyukhin) |
Changed in livecd-rootfs (Ubuntu Focal): | |
assignee: | nobody → Ivan Kapelyukhin (ikapelyukhin) |
Changed in livecd-rootfs (Ubuntu Impish): | |
assignee: | nobody → Ivan Kapelyukhin (ikapelyukhin) |
This bug was fixed in the package livecd-rootfs - 2.759
---------------
livecd-rootfs (2.759) jammy; urgency=medium
* Optionally (when ALLOW_CORE_SNAP env var is set) allow to install core
snap. Still needed by some CPC projects. (LP: #1964303)
-- Thomas Bechtold <email address hidden> Fri, 04 Mar 2022 14:00:16 +0100