Skip to content

Commit

Permalink
fixup! python: setup: arch: Switch to systemd-boot if necessary
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Dec 2, 2024
1 parent 1b92018 commit 098802e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/setup/arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,9 @@ def switch_to_systemd_boot(dryrun=False):
linux_conf_txt = (
'title Arch Linux (linux)\n'
'linux /vmlinuz-linux\n'
f"initrd /{UCODE_VENDOR}-ucode.img\n" if UCODE_VENDOR else '',
f"initrd /{UCODE_VENDOR}-ucode.img\n" if UCODE_VENDOR else ''
'initrd /initramfs-linux.img\n'
f"options {' '.join(sorted(cmdline_options))}\n",
f"options {' '.join(sorted(cmdline_options))}\n"
)
if dryrun:
print('$ mkdir /boot/loader/entries')
Expand Down

0 comments on commit 098802e

Please sign in to comment.