We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b498f6 commit 251070aCopy full SHA for 251070a
1 file changed
archinstall/lib/installer.py
@@ -1174,7 +1174,11 @@ def _add_systemd_bootloader(
1174
1175
# TODO: This is a temporary workaround to deal with https://github.com/archlinux/archinstall/pull/3396#issuecomment-2996862019
1176
# the systemd_version check can be removed once `--variables=BOOL` is merged into systemd.
1177
- systemd_version = int(self.pacman.run('-Q systemd').trace_log.split(b' ')[1][:3].decode())
+ if pacman_q_systemd := self.pacman.run('-Q systemd').trace_log:
1178
+ pacman_version = int(pacman_q_systemd.split(b' ')[1][:3].decode())
1179
+ else:
1180
+ pacman_version = 257 # This works as a safety workaround for this hot-fix
1181
+
1182
# Install the boot loader
1183
try:
1184
# Force EFI variables since bootctl detects arch-chroot
0 commit comments