fix(efi): drop defensive list wrap per review
The list() copy on line 378 was load-bearing only if options were mutated downstream, but the EFI branch reassigns options via dict.fromkeys() (line 381) and the non-EFI branch passes through to mount() without mutating. Drop the copy.
This commit is contained in:
parent
6ed42e3ca1
commit
3051cac7db
|
|
@ -375,7 +375,7 @@ class Installer:
|
|||
# it would be none if it's btrfs as the subvolumes will have the mountpoints defined
|
||||
if part_mod.mountpoint:
|
||||
target = self.target / part_mod.relative_mountpoint
|
||||
options = list(part_mod.mount_options)
|
||||
options = part_mod.mount_options
|
||||
|
||||
if part_mod.is_efi():
|
||||
options = list(dict.fromkeys(options + ['fmask=0077', 'dmask=0077']))
|
||||
|
|
|
|||
Loading…
Reference in New Issue