All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm/lib: pass the PATH to fvp runner
@ 2023-03-29 12:00 Clément Péron
  2023-03-29 12:00 ` [PATCH 2/2] scripts/runfvp: Fix KeyError exception when there is no FVP_CONSOLE provided Clément Péron
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Clément Péron @ 2023-03-29 12:00 UTC (permalink / raw)
  To: meta-arm; +Cc: Clément Péron

When running an FVP machine the model executable need to be found
in the PATH environement.

At the moment the script doesn't provide any PATH to the subprocess.

Add PATH to the allowed environement variable to be forwaded.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
 meta-arm/lib/fvp/runner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arm/lib/fvp/runner.py b/meta-arm/lib/fvp/runner.py
index 28351a39..40ad1f3c 100644
--- a/meta-arm/lib/fvp/runner.py
+++ b/meta-arm/lib/fvp/runner.py
@@ -63,7 +63,7 @@ class FVPRunner:
         # Pass through environment variables needed for GUI applications, such
         # as xterm, to work.
         env = config['env']
-        for name in ('DISPLAY', 'WAYLAND_DISPLAY'):
+        for name in ('DISPLAY', 'PATH', 'WAYLAND_DISPLAY'):
             if name in os.environ:
                 env[name] = os.environ[name]
 
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-25  0:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-29 12:00 [PATCH 1/2] arm/lib: pass the PATH to fvp runner Clément Péron
2023-03-29 12:00 ` [PATCH 2/2] scripts/runfvp: Fix KeyError exception when there is no FVP_CONSOLE provided Clément Péron
2023-03-29 15:42   ` [meta-arm] " Peter Hoyes
2023-03-31  3:01 ` [PATCH 1/2] arm/lib: pass the PATH to fvp runner Jon Mason
2023-03-31 20:11   ` Jon Mason
2023-05-25  0:51 ` Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.