Mantic minimal cloud images (ubuntu-cpc project) arm64 efibootmgr removal

Bug #2037075 reported by Philip Roche
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Fix Released
Undecided
Philip Roche

Bug Description

With the migration from linux-kvm to linux-virtual/genreic for the mantic minimal images we can now start building arm64 minimal cloud images.

When building initial test images we noticed that when comparing the amd64 minimized images and the arm64 images that the efibootmgr package was not installed in the arm64 images.

This is because for amd64 it is installed as a recommends of shim-signed but for arm64 we are installing shim-signed `--no-install-recommends`.

See https://git.launchpad.net/livecd-rootfs/tree/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary#n115

This bug is to track the alignment of amd64 and arm64 when installing shim-signed and grub related packages.

In general for minimized images we should not be install recommends and for
non minimized we should. This policy should be aligned for all architectures.

Related branches

Philip Roche (philroche)
Changed in livecd-rootfs (Ubuntu):
assignee: nobody → Philip Roche (philroche)
Philip Roche (philroche)
description: updated
Revision history for this message
Philip Roche (philroche) wrote :
Philip Roche (philroche)
Changed in livecd-rootfs (Ubuntu):
status: New → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Have questioned this approach on the MP. I think this should be reconciled in the other direction instead (don't install bootloader recommends, we shouldn't care about efibootmgr preinstalled in minimal images)

Changed in livecd-rootfs (Ubuntu):
status: Fix Committed → Incomplete
Philip Roche (philroche)
description: updated
summary: Mantic minimal cloud images (ubuntu-cpc project) arm64 efibootmgr
- addition
+ removal
Revision history for this message
Philip Roche (philroche) wrote :

MP now superseded by https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/452152

I have tested amd64 and arm64 minimized and non minimized images successfully with these changes and confirmed boot works and secureboot still works too.

Philip Roche (philroche)
Changed in livecd-rootfs (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 23.10.47

---------------
livecd-rootfs (23.10.47) mantic; urgency=medium

  [ Phil Roche ]
  * fix: Ensure that grub/shim package installs do not install recommends for
    minimized ubuntu-cpc image builds (LP: #2037075)

 -- Steve Langasek <email address hidden> Tue, 26 Sep 2023 15:04:09 -0700

Changed in livecd-rootfs (Ubuntu):
status: Fix Committed → 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.