diff --git a/.gitlab-ci/bare-metal/fastboot.sh b/.gitlab-ci/bare-metal/fastboot.sh index a9c0114584a..e481c8cc6dc 100755 --- a/.gitlab-ci/bare-metal/fastboot.sh +++ b/.gitlab-ci/bare-metal/fastboot.sh @@ -64,11 +64,18 @@ rsync -a --delete $BM_ROOTFS/ rootfs/ # Finally, pack it up into a cpio rootfs. Skip the vulkan CTS since none of # these devices use it and it would take up space in the initrd. + +if [ -n "$PIGLIT_PROFILES" ]; then + EXCLUDE_FILTER="deqp" +else + EXCLUDE_FILTER="piglit|python" +fi + pushd rootfs find -H | \ egrep -v "external/(openglcts|vulkancts|amber|glslang|spirv-tools)" | - egrep -v "traces-db|apitrace|renderdoc|python" | \ - egrep -v "piglit" | \ + egrep -v "traces-db|apitrace|renderdoc" | \ + egrep -v $EXCLUDE_FILTER | \ cpio -H newc -o | \ xz --check=crc32 -T4 - > $CI_PROJECT_DIR/rootfs.cpio.gz popd