Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
authorВладислав <vladgrom2206.com@gmail.com>2022-05-06 15:50:00 +0300
committerGitHub <noreply@github.com>2022-05-06 14:50:00 +0200
commit2316f5416438e11f65e007d7e411894c307391d9 (patch)
tree1296395965c590c0fbc2fba0f56bd8b98ae3d3a4 /archinstall/lib/installer.py
parent0bed6a7c9a251bd3c9f1d275158a8be558bb212a (diff)
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
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py4
1 files changed, 2 insertions, 2 deletions
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")