The message was an f-string without placeholders combined with '%'-formatting. Use a single f-string referencing the kernel variable.
Signed-off-by: Maxin John <[email protected]> --- meta/classes-recipe/uki.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/uki.bbclass b/meta/classes-recipe/uki.bbclass index 566eab1eaa..cfb930e93d 100644 --- a/meta/classes-recipe/uki.bbclass +++ b/meta/classes-recipe/uki.bbclass @@ -138,7 +138,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(f"ERROR: cannot find {kernel}") ukify_cmd += " --linux=%s" % (kernel) # not always needed, ukify can detect version from kernel binary kernel_version = d.getVar('KERNEL_VERSION') -- 2.39.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#248713): https://lists.openembedded.org/g/openembedded-core/message/248713 Mute This Topic: https://lists.openembedded.org/mt/121956374/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
