public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Pavel Löbl" <pavel@loebl.cz>
To: Mikko Rapeli <mikko.rapeli@linaro.org>
Cc: openembedded-core@lists.openembedded.org,
	 Michelle Lin <michelle.linto91@gmail.com>
Subject: Re: [PATCH] uki.bbclass: fix ukify arguments assembly
Date: Thu, 2 Apr 2026 12:22:15 +0200	[thread overview]
Message-ID: <ac4-MU8f_cm-3Hv9@alena.lan> (raw)
In-Reply-To: <ac4gK-MO4ZadNHHf@nuoska>

On Thu, Apr 02, 2026 at 10:52:11AM +0300, Mikko Rapeli wrote:
> Hi,
> 
> On Thu, Apr 02, 2026 at 09:33:15AM +0200, Pavel L�bl wrote:
> > Missing space before --uname ukify option mangles the command line
> > string when KERNEL_VERSION is set.
> 
> Thanks, this is a clear bug.
> 
> meta/lib/oeqa/selftest/cases/uki.py could be improved to cover this.
> I would be interested to know if the kernel version autodetection
> does not work since that is preferred by ukify.py and this KERNEL_VERSION
> handling in uki.bbclass could be removed.
It works for me now. I just ran into this bug while trying different class
variables. In the end I had build misconfigured in other places (missing efi
machine feature and possible some other stuff).

Regards,
Pavel

> 
> Reviewed-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> 
> Cheers,
> 
> -Mikko
> 
> > Signed-off-by: Pavel L�bl <pavel@loebl.cz>
> > ---
> >  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 326697a06660..a89e92b77869 100644
> > --- a/meta/classes-recipe/uki.bbclass
> > +++ b/meta/classes-recipe/uki.bbclass
> > @@ -140,7 +140,7 @@ python do_uki() {
> >          # not always needed, ukify can detect version from kernel binary
> >          kernel_version = d.getVar('KERNEL_VERSION')
> >          if kernel_version:
> > -            ukify_cmd += "--uname %s" % (kernel_version)
> > +            ukify_cmd += " --uname %s" % (kernel_version)
> >      else:
> >          bb.fatal("ERROR - UKI_KERNEL_FILENAME not set")
> >  
> > -- 
> > 2.53.0
> > 


      reply	other threads:[~2026-04-02 10:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-02  7:33 [PATCH] uki.bbclass: fix ukify arguments assembly Pavel Löbl
2026-04-02  7:52 ` Mikko Rapeli
2026-04-02 10:22   ` Pavel Löbl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ac4-MU8f_cm-3Hv9@alena.lan \
    --to=pavel@loebl.cz \
    --cc=michelle.linto91@gmail.com \
    --cc=mikko.rapeli@linaro.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox