1#!/bin/bash 2 3set -e 4set -o xtrace 5 6apt-get -y install ca-certificates 7sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list 8echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list 9apt-get update 10apt-get -y install \ 11 abootimg \ 12 android-sdk-ext4-utils \ 13 autoconf \ 14 automake \ 15 bc \ 16 bison \ 17 ccache \ 18 cmake \ 19 debootstrap \ 20 fastboot \ 21 flex \ 22 g++ \ 23 git \ 24 kmod \ 25 lavacli \ 26 libdrm-dev \ 27 libelf-dev \ 28 libexpat1-dev \ 29 llvm-8-dev \ 30 pkg-config \ 31 python \ 32 python3-mako \ 33 python3-pil \ 34 python3-requests \ 35 python3-pip \ 36 python3-setuptools \ 37 unzip \ 38 wget \ 39 xz-utils \ 40 zlib1g-dev 41 42pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366 43 44apt install -y --no-remove -t buster-backports \ 45 meson 46 47arch=armhf 48. .gitlab-ci/container/cross_build.sh 49 50. .gitlab-ci/container/container_pre_build.sh 51 52# dependencies where we want a specific version 53EXTRA_MESON_ARGS= 54. .gitlab-ci/build-libdrm.sh 55 56. .gitlab-ci/container/container_post_build.sh 57