diff --git a/subiquity/common/filesystem/labels.py b/subiquity/common/filesystem/labels.py index 73c31736..3012e481 100644 --- a/subiquity/common/filesystem/labels.py +++ b/subiquity/common/filesystem/labels.py @@ -78,7 +78,7 @@ def _annotations_partition(partition): r.append(_("configured")) else: r.append(_("unconfigured")) - r.append(_("bios_grub")) + r.append(_("BIOS grub spacer")) elif partition.flag == "extended": # extended partition r.append(_("extended")) diff --git a/subiquity/models/tests/test_filesystem.py b/subiquity/models/tests/test_filesystem.py index 6589cb7e..5ae26f2f 100644 --- a/subiquity/models/tests/test_filesystem.py +++ b/subiquity/models/tests/test_filesystem.py @@ -234,13 +234,15 @@ class TestFilesystemModel(unittest.TestCase): model = make_model() part = make_partition(model, flag="bios_grub") self.assertEqual( - annotations(part), ['new', 'bios_grub']) + annotations(part), ['new', 'BIOS grub spacer']) part.preserve = True self.assertEqual( - annotations(part), ['existing', 'unconfigured', 'bios_grub']) + annotations(part), + ['existing', 'unconfigured', 'BIOS grub spacer']) part.device.grub_device = True self.assertEqual( - annotations(part), ['existing', 'configured', 'bios_grub']) + annotations(part), + ['existing', 'configured', 'BIOS grub spacer']) model = make_model() part = make_partition(model, flag="boot", grub_device=True)