From a209895b94029e067ccd8359e25279fb35a2c52c Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 9 Aug 2023 10:24:18 +0100 Subject: [PATCH] kas/: pass through DISPLAY from environment If a user does eg "kas shell kas/corstone1000-base.yml" and then calls runfvp, the spawned xterms don't have a valid DISPLAY set. Add DISPLAY to the preserved environment variables and DISPLAY will be passed into the shell, and the xterms will start correctly. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- kas/corstone1000-base.yml | 3 +++ kas/corstone500.yml | 3 +++ kas/fvp-baser-aemv8r64-bsp.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/kas/corstone1000-base.yml b/kas/corstone1000-base.yml index 85706dc0..161312fb 100644 --- a/kas/corstone1000-base.yml +++ b/kas/corstone1000-base.yml @@ -1,6 +1,9 @@ header: version: 11 +env: + DISPLAY: "" + distro: poky-tiny defaults: diff --git a/kas/corstone500.yml b/kas/corstone500.yml index d40b59df..c27cb5f5 100644 --- a/kas/corstone500.yml +++ b/kas/corstone500.yml @@ -3,6 +3,9 @@ header: includes: - kas/fvp-eula.yml +env: + DISPLAY: "" + distro: poky-tiny defaults: diff --git a/kas/fvp-baser-aemv8r64-bsp.yml b/kas/fvp-baser-aemv8r64-bsp.yml index 9f16a3f9..366ab87e 100644 --- a/kas/fvp-baser-aemv8r64-bsp.yml +++ b/kas/fvp-baser-aemv8r64-bsp.yml @@ -3,6 +3,9 @@ header: includes: - kas/fvp-eula.yml +env: + DISPLAY: "" + distro: poky machine: fvp-baser-aemv8r64