Public bug reported: We have not built Hyperv desktop images since Jammy and with the re- introduction of HyperV for Noble we have encountered build issues caused by refactoring and removals of code assumed to be redundant but the HyperV desktop images were actually using these code paths.
In bbedffe6 we split the building of cloud images and non cloud to using an ddisk-image-uefi.binary and disk-image-uefi-non-cloud.binary respectively. In e38264ca there was a change which meant that any attempt to build hyperv images would result in incorrect disk size and incorrect disk label. A change in 76d79466 changed the logic of how the image size for amd64 images were being set. This overrode the sizes set for the desktop images incorrectly. A change in 8fb21808 also removed many of the dependencies that the hyperv images require. This removal has been restored in this commit by adding them expliciltly in the hyperv hook. With Ubutnu 24.04+ cloud-init was introduced to desktop images. This is not required for HyperV images and can be disabled. This bug is to track the work to restore functioning Hyperv desktop image builds [ Impact ] Unable to build HyperV Desktop image. [ Test Plan ] * Successfully build image * Launch through Windows HyperV manager successfully without any errors or warning. [ Where problems could occur ] * If the image built does not launch in hyperv manager or has errors or warnings. [ Other Info ] * There is work required to migrate oem-config to the new provisioning stack but this is out of scope of this bug. ** Affects: livecd-rootfs (Ubuntu) Importance: Undecided Status: New ** Affects: livecd-rootfs (Ubuntu Noble) Importance: Undecided Assignee: Philip Roche (philroche) Status: New ** Also affects: livecd-rootfs (Ubuntu Noble) Importance: Undecided Status: New ** Changed in: livecd-rootfs (Ubuntu Noble) Assignee: (unassigned) => Philip Roche (philroche) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064280 Title: Hyperv desktop images no longer building in Noble To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2064280/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs