• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 main' >/etc/apt/sources.list.d/buster.list
9apt-get update
10
11apt-get -y install \
12	abootimg \
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	libasan6 \
26	libdrm-dev \
27	libelf-dev \
28	libexpat1-dev \
29	libx11-dev \
30	libx11-xcb-dev \
31	libxcb-dri2-0-dev \
32	libxcb-dri3-dev \
33	libxcb-glx0-dev \
34	libxcb-present-dev \
35	libxcb-randr0-dev \
36	libxcb-shm0-dev \
37	libxcb-xfixes0-dev \
38	libxdamage-dev \
39	libxext-dev \
40	libxrandr-dev \
41	libxshmfence-dev \
42	libxxf86vm-dev \
43	llvm-11-dev \
44	meson \
45	pkg-config \
46	python3-mako \
47	python3-pil \
48	python3-pip \
49	python3-requests \
50	python3-setuptools \
51	u-boot-tools \
52	wget \
53	xz-utils \
54	zlib1g-dev
55
56# Not available anymore in bullseye
57apt-get install -y --no-remove -t buster \
58        android-sdk-ext4-utils
59
60pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366
61
62arch=armhf
63. .gitlab-ci/container/cross_build.sh
64
65. .gitlab-ci/container/container_pre_build.sh
66
67# dependencies where we want a specific version
68EXTRA_MESON_ARGS=
69. .gitlab-ci/container/build-libdrm.sh
70
71. .gitlab-ci/container/container_post_build.sh
72