Fixed typos

This commit is contained in:
nullrequest 2021-04-07 21:12:43 +05:30 committed by GitHub
parent 36bad8254f
commit 8ad2200441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -380,9 +380,9 @@ class Installer():
if not isVM(): if not isVM():
vendor = cpuVendor() vendor = cpuVendor()
if vendor == "AuthenticAMD": if vendor == "AuthenticAMD":
entry.write("initrd /amd-ucode.img") entry.write("initrd /amd-ucode.img\n")
elif vendor == "GenuineIntel": elif vendor == "GenuineIntel":
entry.write("initrd /amd-ucode.img") entry.write("initrd /intel-ucode.img\n")
else: else:
self.log("unknow cpu vendor, not adding ucode to systemd-boot config") self.log("unknow cpu vendor, not adding ucode to systemd-boot config")
entry.write(f'initrd /initramfs-linux.img\n') entry.write(f'initrd /initramfs-linux.img\n')