Hyperv desktop images no longer building in Noble

Bug #2064280 reported by Philip Roche
8
This bug affects 1 person
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-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.

Related branches

Philip Roche (philroche)
Changed in livecd-rootfs (Ubuntu Noble):
assignee: nobody → Philip Roche (philroche)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in livecd-rootfs (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.