6 ROOTFS
=/lava-files
/rootfs-
${arch}
8 dpkg
--add-architecture $arch
11 # Cross-build test deps
12 BAREMETAL_EPHEMERAL
=" \
15 crossbuild-essential-$arch \
19 libegl1-mesa-dev:$arch \
24 libgles2-mesa-dev:$arch \
27 libpython3-dev:$arch \
30 libegl1-mesa-dev:$arch \
32 libxcb-keysyms1-dev:$arch \
33 libpython3-dev:$arch \
40 apt-get
install -y --no-remove $BAREMETAL_EPHEMERAL
42 mkdir
/var
/cache
/apt
/archives
/$arch
44 ############### Create cross-files
46 . .gitlab-ci
/create-cross-file.sh
$arch
48 . .gitlab-ci
/container
/container_pre_build.sh
50 ############### Create rootfs
52 DEBIAN_ARCH
=$arch INCLUDE_VK_CTS
=1 . .gitlab-ci
/container
/lava_arm.sh
54 ############### Store traces
55 # Clone the traces-db at container build time so we don't have to pull traces
56 # per run (too much egress cost for fd.o).
59 -b mesa-ci-2020-06-08 \
60 https
://gitlab.freedesktop.org
/gfx-ci
/tracie
/traces-db.git \
62 rm -rf $ROOTFS/traces-db
/.git
63 find $ROOTFS/traces-db
-type f \
64 -a -not -name '*.trace' \
65 -a -not -name '*.rdc' \
70 . .gitlab-ci
/container
/container_post_build.sh
72 apt-get purge
-y $BAREMETAL_EPHEMERAL