[Bug 1961760] Re: `disk-image` not granular enough, often builds unused artifacts
Launchpad Bug Tracker
1961760 at bugs.launchpad.net
Tue Mar 29 18:31:55 UTC 2022
This bug was fixed in the package livecd-rootfs - 2.664.41
---------------
livecd-rootfs (2.664.41) focal; urgency=medium
[ Ivan Kapelyukhin ]
* Split UEFI image out of `disk-image` series file into
`disk-image-uefi`. (LP: #1961760)
[ Thomas Bechtold ]
* Optionally (when ALLOW_CORE_SNAP env var is set) allow to install
core snap. Still needed by some CPC projects. (LP: #1964303)
-- Thomas Bechtold <thomas.bechtold at canonical.com> Fri, 04 Mar 2022
14:00:16 +0100
** Changed in: livecd-rootfs (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1961760
Title:
`disk-image` not granular enough, often builds unused artifacts
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Bionic:
Fix Committed
Status in livecd-rootfs source package in Focal:
Fix Released
Status in livecd-rootfs source package in Impish:
Fix Released
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1961760/+subscriptions
More information about the foundations-bugs
mailing list