Skip to content

Commit ac984b7

Browse files
authored
This commit changes the order of the main menu. (#4043)
Since in the next NVIDIA update, the kernel choice will have an impact on profiles. The order this way makes it more logical: Bootloader => Kernel => Hw drivers
1 parent 4e52dc7 commit ac984b7

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

archinstall/lib/global_menu.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ def _get_menu_options(self) -> list[MenuItem]:
9292
preview_action=self._prev_bootloader_config,
9393
key='bootloader_config',
9494
),
95+
MenuItem(
96+
text=tr('Kernels'),
97+
value=['linux'],
98+
action=select_kernel,
99+
preview_action=self._prev_kernel,
100+
mandatory=True,
101+
key='kernels',
102+
),
95103
MenuItem(
96104
text=tr('Hostname'),
97105
value='archlinux',
@@ -118,14 +126,6 @@ def _get_menu_options(self) -> list[MenuItem]:
118126
preview_action=self._prev_applications,
119127
key='app_config',
120128
),
121-
MenuItem(
122-
text=tr('Kernels'),
123-
value=['linux'],
124-
action=select_kernel,
125-
preview_action=self._prev_kernel,
126-
mandatory=True,
127-
key='kernels',
128-
),
129129
MenuItem(
130130
text=tr('Network configuration'),
131131
action=ask_to_configure_network,

0 commit comments

Comments
 (0)