From ce43cc32e2035c03651ed47f483a3498bd91d508 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Corentin=20No=C3=ABl?= Date: Tue, 14 Mar 2023 15:55:13 +0100 Subject: [PATCH] ci: Setup XDG_RUNTIME_DIR in crosvm-init MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This environment variable has to be set to use the wayland platform. Signed-off-by: Corentin Noël Part-of: --- .gitlab-ci/crosvm-init.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci/crosvm-init.sh b/.gitlab-ci/crosvm-init.sh index 490960b..57366bf 100755 --- a/.gitlab-ci/crosvm-init.sh +++ b/.gitlab-ci/crosvm-init.sh @@ -14,6 +14,9 @@ mount -t tmpfs tmpfs /tmp . ${VM_TEMP_DIR}/crosvm-env.sh +# Required by the wayland platform +export XDG_RUNTIME_DIR=$(mktemp -d) + # .gitlab-ci.yml script variable is using relative paths to install directory, # so change to that dir before running `crosvm-script` cd "${CI_PROJECT_DIR}" -- 2.7.4