Skip to content

Commit

Permalink
Allow assigning mountpoint on existing partitions (#2067)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Girtler <[email protected]>
  • Loading branch information
svartkanin and svartkanin authored Sep 18, 2023
1 parent f6acdf5 commit c0ff55d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions archinstall/lib/disk/partitioning_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,13 @@ def filter_options(self, selection: PartitionModification, options: List[str]) -
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']
Expand Down

0 comments on commit c0ff55d

Please sign in to comment.