diff mbox series

[v2] uki.bbclass: drop stray f-string prefix in kernel-not-found error

Message ID 20261029122122.22-1-maxin.john@gehealthcare.com
State Under Review
Headers show
Series [v2] uki.bbclass: drop stray f-string prefix in kernel-not-found error | expand

Commit Message

Maxin John Oct. 29, 2026, 12:21 p.m. UTC
The message was an f-string without placeholders combined with
'%'-formatting. Drop the f prefix and keep '%'-formatting.

Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
---
 meta/classes-recipe/uki.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/classes-recipe/uki.bbclass b/meta/classes-recipe/uki.bbclass
index 7c5c12a7b2..bcccf824c7 100644
--- a/meta/classes-recipe/uki.bbclass
+++ b/meta/classes-recipe/uki.bbclass
@@ -137,7 +137,7 @@  python do_uki() {
     if kernel_filename:
         kernel = "%s/%s" % (deploy_dir_image, kernel_filename)
         if not os.path.exists(kernel):
-            bb.fatal(f"ERROR: cannot find %s" % (kernel))
+            bb.fatal("ERROR: cannot find %s" % (kernel))
         ukify_cmd += " --linux=%s" % (kernel)
         # not always needed, ukify can detect version from kernel binary
         kernel_version = d.getVar('KERNEL_VERSION')