Allow assigning mountpoint on existing partitions (#2067)

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
This commit is contained in:
Daniel Girtler 2023-09-19 06:47:46 +10:00 committed by GitHub
parent f6acdf5b5e
commit c0ff55d55b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -61,14 +61,13 @@ class PartitioningList(ListManager):
if not selection.exists():
not_filter += [self._actions['mark_formatting']]
else:
# only allow these options if the existing partition
# only allow options if the existing partition
# was marked as formatting, otherwise we run into issues where
# 1. select a new fs -> potentially mark as wipe now
# 2. Switch back to old filesystem -> should unmark wipe now, but
# how do we know it was the original one?
not_filter += [
self._actions['set_filesystem'],
self._actions['assign_mountpoint'],
self._actions['mark_bootable'],
self._actions['btrfs_mark_compressed'],
self._actions['btrfs_set_subvolumes']