if [ "$DIB_RELEASE"x != jammyx ]; then
# Remove EFI packages to work around LP: #1895835
echo "Removing GRUB EFI packages to work around LP: #1895835..."
DEBIAN_FRONTEND=noninteractive apt-get remove \ --allow-remove-essential \ --ignore-missing \
--purge \
-y \ grub-efi-amd64-bin grub-efi-amd64-signed
fi
====
It was a simple thing. The fix from the previous bug is not included in the stable channel nor any snap channel.
[added] /bugs.launchpad .net/snap- octavia- diskimage- retrofit/ +bug/1995130 /github. com/openstack- charmers/ octavia- diskimage- retrofit/ pull/32/ files
https:/
https:/
[removed] /github. com/openstack- charmers/ octavia- diskimage- retrofit/ commit/ 6d294e6325078e2 175f4950d7ef838 14192d2f7c
https:/
So a workaround is to use the daily stream of cloud images. But I will keep the field-critical as it's not considered as a safe workaround.
channels:
latest/stable: –
latest/candidate: –
latest/beta: 0.9.12 2021-07-16 (236) 185MB devmode
latest/edge: 1.0.0+git7.gf0dac14 2023-03-19 (352) 279MB classic
1.0/stable: 1.0.1 2023-01-19 (344) 277MB classic
1.0/candidate: ↑
1.0/beta: ↑
1.0/edge: 1.0.1+git2.g35bba4a 2023-05-27 (356) 279MB classic
installed: 1.0.1 (344) 277MB classic
$ diff -u /snap/octavia- diskimage- retrofit/ {344,356} /usr/local/ lib/elements/bug1895835/pre-install. d/42-drop- grub-efi- pkgs
-> no diff
# cat /snap/octavia- diskimage- retrofit/ 356/usr/ local/lib/ elements/bug1895835/pre-install. d/42-drop- grub-efi- pkgs
====
#!/bin/sh
set -e
if [ "$DIB_RELEASE"x != jammyx ]; then FRONTEND= noninteractive apt-get remove \
--allow- remove- essential \
--ignore- missing \
grub-efi- amd64-bin grub-efi- amd64-signed
# Remove EFI packages to work around LP: #1895835
echo "Removing GRUB EFI packages to work around LP: #1895835..."
DEBIAN_
--purge \
-y \
fi
====
-> no logic for jammy.