From: Prasanth R <ragaprasanth@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Prasanth R <ragaprasanth@gmail.com>
Subject: [PATCH 3/3] oeqa/qemutinyrunner: fix NameError when RUNQEMU_TMPFS_DIR is set
Date: Sat, 21 Nov 2026 14:38:46 +0900 [thread overview]
Message-ID: <20261121053846.3614417-3-ragaprasanth@gmail.com> (raw)
In-Reply-To: <20261121053846.3614417-1-ragaprasanth@gmail.com>
QemuTinyRunner.start() sets RUNQEMU_TMPFS_DIR in env, which only exists
in QemuRunner.start(). With RUNQEMU_TMPFS_DIR set, testimage on
poky-tiny fails with:
NameError: name 'env' is not defined
Use os.environ, like the other variables set in this function.
AI-Generated: Uses Claude
Signed-off-by: Prasanth R <prasanth.r@lineo.co.jp>
---
meta/lib/oeqa/utils/qemutinyrunner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/qemutinyrunner.py b/meta/lib/oeqa/utils/qemutinyrunner.py
index 0510977e9d..917bafdeaf 100644
--- a/meta/lib/oeqa/utils/qemutinyrunner.py
+++ b/meta/lib/oeqa/utils/qemutinyrunner.py
@@ -86,7 +86,7 @@ class QemuTinyRunner(QemuRunner):
else:
os.environ["DEPLOY_DIR_IMAGE"] = self.deploy_dir_image
if self.tmpfsdir:
- env["RUNQEMU_TMPFS_DIR"] = self.tmpfsdir
+ os.environ["RUNQEMU_TMPFS_DIR"] = self.tmpfsdir
# Set this flag so that Qemu doesn't do any grabs as SDL grabs interact
--
2.43.0
prev parent reply other threads:[~2026-11-21 5:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 5:38 [PATCH 1/3] recipeutils: fix NameError for recipes with unreliable upstream checks Prasanth R
2026-11-21 5:38 ` [PATCH 2/3] resulttool: fix NameError in filter_resultsdata() Prasanth R
2026-11-21 5:38 ` Prasanth R [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=20261121053846.3614417-3-ragaprasanth@gmail.com \
--to=ragaprasanth@gmail.com \
--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