~philroche/livecd-rootfs/+git/livecd-rootfs:feature/re-enable-noble-hyperv-desktop-builds

Last commit made on 2024-05-02
Get this branch:
git clone -b feature/re-enable-noble-hyperv-desktop-builds https://git.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs
Only Philip Roche can upload to this branch. If you are Philip Roche please log in for upload directions.

Branch merges

Branch information

Name:
feature/re-enable-noble-hyperv-desktop-builds
Repository:
lp:~philroche/livecd-rootfs/+git/livecd-rootfs

Recent commits

0945c40... by Philip Roche

fix(Hyperv Desktop): remove redundant case statement match `ubuntu`

`ubuntu` will never match `${PROJECT:-}:${SUBPROJECT:-}` cases statement and can be safely removed.

8fe2658... by Philip Roche

fix(Hyperv Desktop): as we are using oem-config we do not need ubiquity-slideshow-ubuntu

As we are only using oem-config, oem-config-slideshow-ubuntu will suffice

dc2d131... by Philip Roche

fix(Hyperv Desktop): ubiquity-frontend-gtk is a dependency of the oem-config-gtk package so does not need to be added explicitly

7895eb2... by Philip Roche

d/ch update for 24.04.70 to re-enable ability to build HyperV desktop images (LP: #2064280)

ff47664... by Philip Roche

feat(Hyperv Desktop): Disable cloud-init for Hyperv Desktop images (LP: #2064280)

For Ubuntu 24.04 and later cloud-init is included in desktop images. This is not applicable for Hyperv images so
we can disable cloud-init. This leaves the cloud-init package installed but disabled so users can still
use it if they want.

This is a documented way to disable cloud-init. See https://cloudinit.readthedocs.io/en/latest/howto/disable_cloud_init.html

c459e5e... by Philip Roche

fix(HyperV desktop): Ensure removed hyperv dependencies are present in HyperV builds (LP: #2064280)

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.

48aed40... by Philip Roche

fix(HyperV desktop): Re-enable ability to build HyperV desktop images (LP: #2064280)

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.

This has been fixed by ensuring that the ubuntu:desktop-preinstalled $PROJECT:$SUBPROJECT matches and sets the correct disk size and correct 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.

This commit ensures that any desktop image being created uses the correct image size.

e001491... by Łukasz Zemczak

Add changelog.

5e27db4... by Łukasz Zemczak

Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu-core-desktop-noble

2c268fc... by Dan Bungert

releasing package livecd-rootfs version 24.04.69