Skip to content

Commit 17cd925

Browse files
committed
sure
1 parent e4d4021 commit 17cd925

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

archinstoo/archinstall/lib/applications/application_menu.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ def select_firewall(preset: FirewallConfiguration | None = None) -> FirewallConf
286286

287287

288288
def select_management(preset: ManagementConfiguration | None = None) -> ManagementConfiguration | None:
289-
group = MenuItemGroup.from_enum(Management)
289+
options = [m for m in Management if not (m == Management.REFLECTOR and SysInfo.arch() != 'x86_64')]
290+
items = [MenuItem(m.value, value=m) for m in options]
291+
group = MenuItemGroup(items)
290292

291293
header = tr('Would you like to install management tools?') + '\n'
292294

archinstoo/archinstall/lib/installer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1873,8 +1873,9 @@ def _create_user(
18731873

18741874
try:
18751875
self.arch_chroot(cmd)
1876-
except SysCallError as err:
1877-
raise SystemError(f'Could not create user inside installation: {err}')
1876+
except SysCallError:
1877+
# user may already exist (e.g. installing onto running system)
1878+
info(f'User {user.username} already exists, skipping creation')
18781879

18791880
self.set_user_password(user)
18801881

0 commit comments

Comments
 (0)