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:
0xdeadd 2026-05-16 08:36:01 -04:00
parent 6ed42e3ca1
commit 3051cac7db
1 changed files with 1 additions and 1 deletions

View File

@ -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']))