From 2a578c6505badade3e9ec8aeba838bb48e0a3e4b Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 29 Mar 2022 13:48:49 +0200 Subject: [PATCH] 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 Reviewed-by: Emma Anholt Part-of: --- .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