Mesa (main): ci: Allow local installations to build additional stuff into the rootfs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 13 07:57:04 UTC 2022


Module: Mesa
Branch: main
Commit: 2a578c6505badade3e9ec8aeba838bb48e0a3e4b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a578c6505badade3e9ec8aeba838bb48e0a3e4b

Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date:   Tue Mar 29 13:48:49 2022 +0200

ci: Allow local installations to build additional stuff into the rootfs

This can make it more convenient for other projects to reuse these
scripts.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15891>

---

 .gitlab-ci/container/lava_build.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci/container/lava_build.sh b/.gitlab-ci/container/lava_build.sh
index 620c7953284..3b921619712 100755
--- a/.gitlab-ci/container/lava_build.sh
+++ b/.gitlab-ci/container/lava_build.sh
@@ -179,6 +179,15 @@ fi
 EXTRA_MESON_ARGS+=" -D prefix=/libdrm"
 . .gitlab-ci/container/build-libdrm.sh
 
+
+############### Build local stuff for use by igt and kernel testing, which
+############### will reuse most of our container build process from a specific
+############### hash of the Mesa tree.
+if [[ -e ".gitlab-ci/local/build-rootfs.sh" ]]; then
+    . .gitlab-ci/local/build-rootfs.sh
+fi
+
+
 ############### Build kernel
 . .gitlab-ci/container/build-kernel.sh
 



More information about the mesa-commit mailing list