Hi Paul, On Thu, Oct 29, 2026 at 11:30:54AM +0000, Paul Barker wrote: > CAUTION: This email originated from outside of GE HealthCare. Only open links > or attachments if you trust the sender. Report suspicious emails using > Outlook???s ???Report??? button. > > On Tue, 2026-10-27 at 10:12 +0200, Maxin John wrote: > > 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}") > > Could we drop the f-string prefix instead? String formatting with '%' is > used more often here.
Sure, I will send a v2. > Best regards, > > -- > Paul Barker Best Regards, Maxin
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#248940): https://lists.openembedded.org/g/openembedded-core/message/248940 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]] -=-=-=-=-=-=-=-=-=-=-=-
