Revert "debconf-selections: work around grub2 bug until it is fixed"

To workaround a grub2 bug (LP: #2055294) causing 24.04 installations to
fail, we added a default debconf-selection in Subiquity.

grub2 2.12-1ubuntu4 fixes the issue and migrated to the noble release
pocket on 2024-03-06.

We can now drop the workaround.

https://launchpad.net/ubuntu/+source/grub2/2.12-1ubuntu4

This reverts commit cffce32305.
This commit is contained in:
Olivier Gayot 2024-03-26 10:25:12 +01:00
parent cdb56a0d9f
commit 092de2e598
1 changed files with 0 additions and 6 deletions

View File

@ -161,12 +161,6 @@ class DebconfSelectionsModel:
return {}
def get_apt_config(self, final: bool, has_network: bool) -> Dict[str, Any]:
# Workaround for LP: #2055294
# TODO remove when the bug is fixed
if not self.selections:
grub2_selection = "grub-pc grub-efi/cloud_style_installation boolean false"
return {"debconf_selections": {"subiquity": grub2_selection}}
return {"debconf_selections": {"subiquity": self.selections}}