public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Liu Yi <liuyi@siemens.com>
To: isar-users@googlegroups.com
Subject: [PATCH] rootfs-u-boot: add missing import get_bitbake_var
Date: Wed, 19 Jun 2024 11:04:40 +0800	[thread overview]
Message-ID: <20240619030440.1858-1-liuyi@siemens.com> (raw)

The variable image_rootfs_dir will not be correctly defined if missing import of get_bitbake_var func.

Signed-off-by: Liu Yi <liuyi@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')
 
-- 
2.39.2


             reply	other threads:[~2024-06-19  3:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-19  3:04 Liu Yi [this message]
2024-06-19  4:27 ` Jan Kiszka
2024-06-19  6:55   ` Yi Liu
2024-06-19  8:38     ` Jan Kiszka
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=20240619030440.1858-1-liuyi@siemens.com \
    --to=liuyi@siemens.com \
    --cc=isar-users@googlegroups.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