public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Yi Liu <liuyi@siemens.com>, isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] rootfs-u-boot: add missing import get_bitbake_var
Date: Wed, 19 Jun 2024 10:38:11 +0200	[thread overview]
Message-ID: <f3981307-af41-4667-8a0f-ce8d81096a3b@siemens.com> (raw)
In-Reply-To: <ab71bc45-1955-46eb-af2c-50182f2af0ecn@googlegroups.com>

On 19.06.24 08:55, 'Yi Liu' via isar-users wrote:
> This issue was found by my VSCode, which hinted that some error there
> when I went through this python file.
> 

OK, than this might be magically resolved otherwise in the context of
wic, and that is why it remained unnoticed so far.

Jan

> Best Regards,
> Liu Yi 
> 
> On Wednesday, June 19, 2024 at 12:27:11 PM UTC+8 Jan Kiszka wrote:
> 
>     On 19.06.24 05:04, 'Liu Yi' via isar-users wrote:
>     > The variable image_rootfs_dir will not be correctly defined if
>     missing import of get_bitbake_var func.
>     >
>     > Signed-off-by: Liu Yi <li...@siemens.com>
>     > ---
>     > meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py | 2 +-
>     > 1 file changed, 1 insertion(+), 1 deletion(-)
>     >
>     > diff --git a/meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py
>     b/meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py
>     > index 7dde49d4..5611f93a 100644
>     > --- a/meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py
>     > +++ b/meta/scripts/lib/wic/plugins/source/rootfs-u-boot.py
>     > @@ -20,7 +20,7 @@ import os
>     >
>     > from wic import WicError
>     > from wic.plugins.source.rootfs import RootfsPlugin
>     > -from wic.misc import exec_cmd
>     > +from wic.misc import get_bitbake_var, exec_cmd
>     >
>     > logger = logging.getLogger('wic')
>     >
> 
>     Interesting. The code was like that since its beginning 6 years ago.
>     How
>     did you trigger the issue? Maybe you can augment the commit message
>     with
>     this information. Otherwise:
> 
>     Reviewed-by: Jan Kiszka <jan.k...@siemens.com>
> 
>     Thanks,
>     Jan
> 
>     -- 
>     Siemens AG, Technology
>     Linux Expert Center
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to isar-users+unsubscribe@googlegroups.com
> <mailto:isar-users+unsubscribe@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/isar-users/ab71bc45-1955-46eb-af2c-50182f2af0ecn%40googlegroups.com <https://groups.google.com/d/msgid/isar-users/ab71bc45-1955-46eb-af2c-50182f2af0ecn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
Siemens AG, Technology
Linux Expert Center


  reply	other threads:[~2024-06-19  8:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-19  3:04 Liu Yi
2024-06-19  4:27 ` Jan Kiszka
2024-06-19  6:55   ` Yi Liu
2024-06-19  8:38     ` Jan Kiszka [this message]
2024-06-24  6:35 ` Uladzimir Bely

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=f3981307-af41-4667-8a0f-ce8d81096a3b@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=liuyi@siemens.com \
    /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