Hyperv desktop images no longer building in Noble
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
New
|
Undecided
|
Philip Roche |
Bug Description
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-
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.
Related branches
- Jean-Baptiste Lallement (community): Approve
- Steve Langasek: Approve
- John Chittum (community): Approve
-
Diff: 113 lines (+32/-22)3 files modifieddebian/changelog (+5/-1)
live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary (+16/-15)
live-build/ubuntu/hooks/040-hyperv-desktop-images.binary (+11/-6)
Changed in livecd-rootfs (Ubuntu Noble): | |
assignee: | nobody → Philip Roche (philroche) |
This bug was fixed in the package livecd-rootfs - 24.10.1
---------------
livecd-rootfs (24.10.1) oracular; urgency=medium
[ Łukasz 'sil2100' Zemczak ]
* Add experimental support for building ubuntu-core-desktop installer images
(LP: #2063203)
[ Philip Roche ]
* Re-enable ability to build HyperV desktop images (LP: #2064280)
-- Philip Roche <email address hidden> Tue, 30 Apr 2024 17:58:43 +0100