Allow assigning mountpoint on existing partitions (#2067)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
This commit is contained in:
parent
f6acdf5b5e
commit
c0ff55d55b
|
|
@ -61,14 +61,13 @@ class PartitioningList(ListManager):
|
||||||
if not selection.exists():
|
if not selection.exists():
|
||||||
not_filter += [self._actions['mark_formatting']]
|
not_filter += [self._actions['mark_formatting']]
|
||||||
else:
|
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
|
# was marked as formatting, otherwise we run into issues where
|
||||||
# 1. select a new fs -> potentially mark as wipe now
|
# 1. select a new fs -> potentially mark as wipe now
|
||||||
# 2. Switch back to old filesystem -> should unmark wipe now, but
|
# 2. Switch back to old filesystem -> should unmark wipe now, but
|
||||||
# how do we know it was the original one?
|
# how do we know it was the original one?
|
||||||
not_filter += [
|
not_filter += [
|
||||||
self._actions['set_filesystem'],
|
self._actions['set_filesystem'],
|
||||||
self._actions['assign_mountpoint'],
|
|
||||||
self._actions['mark_bootable'],
|
self._actions['mark_bootable'],
|
||||||
self._actions['btrfs_mark_compressed'],
|
self._actions['btrfs_mark_compressed'],
|
||||||
self._actions['btrfs_set_subvolumes']
|
self._actions['btrfs_set_subvolumes']
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue