[Bug 1961760] Re: `disk-image` not granular enough, often builds unused artifacts
Ivan Kapelyukhin
1961760 at bugs.launchpad.net
Thu Mar 3 15:10:33 UTC 2022
** Description changed:
- Due to how `disk-image` series file in `ubuntu-cpc` is structured, it
+ [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
--
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:
New
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