ci/lava: Make Cuttlefish a LAVA overlay

Instead of including Cuttlefish in the core LAVA rootfs, make it an
optional LAVA overlay. This reduces the size of the core rootfs and
keeps Cuttlefish cached when the container is rebuilt, leading to
faster deploys.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35522>
This commit is contained in:
Valentine Burley
2025-06-13 08:47:24 +02:00
committed by Marge Bot
parent 6527ac72d4
commit f7befb9d8d
5 changed files with 37 additions and 12 deletions

View File

@@ -47,6 +47,7 @@ buildah_export() {
# These components will be provided via LAVA overlays,
# so remove them from the core rootfs
rm -rf "${mountpoint}/cuttlefish"
rm -rf "${mountpoint}/vkd3d-proton-tests"
rm -rf "${mountpoint}/vkd3d-proton-wine64"