From 3051cac7dbbdde642cb49a1bf7e98e0834164421 Mon Sep 17 00:00:00 2001 From: 0xdeadd Date: Sat, 16 May 2026 08:36:01 -0400 Subject: [PATCH] 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. --- archinstall/lib/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index a05acd9f..61c51b92 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -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']))