From 092de2e598cd7cce14e11aaaaaea512c6fc98195 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 26 Mar 2024 10:25:12 +0100 Subject: [PATCH] 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 cffce3230500526af8a1100ac149b0883a17b092. --- subiquity/models/subiquity.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/subiquity/models/subiquity.py b/subiquity/models/subiquity.py index 4042354e..422180a7 100644 --- a/subiquity/models/subiquity.py +++ b/subiquity/models/subiquity.py @@ -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}}