From 2316f5416438e11f65e007d7e411894c307391d9 Mon Sep 17 00:00:00 2001 From: Владислав Date: Fri, 6 May 2022 15:50:00 +0300 Subject: Change the logging text of CPU vendor check (#1094) * Fix small typo in the logging text of CPU vendor check * Make CPU check logging text unified --- archinstall/lib/installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 8b77317a..b0f7ac32 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -777,7 +777,7 @@ class Installer: elif vendor == "GenuineIntel": entry.write("initrd /intel-ucode.img\n") else: - self.log("unknow cpu vendor, not adding ucode to systemd-boot config") + self.log(f"Unknown CPU vendor '{vendor}' detected. Archinstall won't add any ucode to systemd-boot config.", level=logging.DEBUG) entry.write(f"initrd /initramfs-{kernel}.img\n") # blkid doesn't trigger on loopback devices really well, # so we'll use the old manual method until we get that sorted out. @@ -881,7 +881,7 @@ class Installer: elif vendor == "GenuineIntel": kernel_parameters.append("initrd=\\intel-ucode.img") else: - self.log("unknow cpu vendor, not adding ucode to firmware boot entry") + self.log(f"Unknown CPU vendor '{vendor}' detected. Archinstall won't add any ucode to firmware boot entry.", level=logging.DEBUG) kernel_parameters.append(f"initrd=\\initramfs-{kernel}.img") -- cgit v1.2.3-70-g09d2