diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2023-03-14 15:55:13 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-03-14 23:59:37 +0000 |
commit | ce43cc32e2035c03651ed47f483a3498bd91d508 (patch) | |
tree | d3d03ace3f354ba0a99cf5be241788ecb962551a /.gitlab-ci | |
parent | 2bab56737c54dada29b4a868b717dc6785415f88 (diff) |
ci: Setup XDG_RUNTIME_DIR in crosvm-init
This environment variable has to be set to use the wayland platform.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21900>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x | .gitlab-ci/crosvm-init.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci/crosvm-init.sh b/.gitlab-ci/crosvm-init.sh index 490960b3104..57366bf9751 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}" |