Skip to content

Commit

Permalink
dialogs: Remove obsolete btrfs subvolume warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Feb 7, 2022
1 parent f001935 commit 351ad2a
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions usr/lib/live-installer/frontend/gtk_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,27 +898,12 @@ def wizard_cb(self, widget, goback, data=None):
if partition.format_as is None or partition.format_as == "":
ErrorDialog(_("Installer"), _("Please indicate a filesystem to format the root (/) partition with before proceeding."))
return
if partition.mount_as == "/@":
if partition.format_as != "btrfs":
ErrorDialog(_("Installer"), _("A root subvolume (/@) requires to format the partition with btrfs."))
return
found_root_partition = True
if partition.mount_as == "/@home":
if partition.format_as == "btrfs":
continue;
if partition.type == "btrfs" and (partition.format_as == None or partition.format_as == ""):
continue;
ErrorDialog(_("Installer"), _("A home subvolume (/@home) requires the use of a btrfs formatted partition."))
return

if not found_root_partition:
ErrorDialog(_("Installer"), "<b>%s</b>" % _("Please select a root (/) partition."), _(
"A root partition is needed to install Linux Mint on.\n\n"
" - Mount point: /\n - Recommended size: 30GB\n"
" - Recommended filesystem format: ext4\n\n"
"Note: The timeshift btrfs snapshots feature requires the use of:\n"
" - subvolume Mount-point /@\n"
" - btrfs as filesystem format\n"))
" - Recommended filesystem format: ext4\n"))
return

if self.setup.gptonefi:
Expand Down

0 comments on commit 351ad2a

Please sign in to comment.