4 export DEBIAN_FRONTEND
=noninteractive
9 sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc
/apt
/sources.list
10 echo 'deb https://deb.debian.org/debian buster-backports main' >/etc
/apt
/sources.list.d
/backports.list
12 # Use newer packages from backports by default
13 cat >/etc
/apt
/preferences
<<EOF
15 Pin: release a=buster-backports
61 python3-pytest-timeout \
63 python3-requests-mock \
71 pip3
install pytest-pythonpath
72 pip3
install pytest-raises
74 # Download Waffle artifacts. See also
75 # https://gitlab.freedesktop.org/mesa/waffle/-/merge_requests/89
76 # https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html#downloading-the-latest-artifacts
77 for target
in mingw32 mingw64
79 mkdir
-p /opt
/waffle
/$target
80 curl
-s -L "https://gitlab.freedesktop.org/mesa/waffle/-/jobs/artifacts/${WAFFLE_BRANCH:-maint-1.7}/raw/publish/$target/waffle-$target.zip?job=cmake-mingw" -o /tmp
/waffle-
$target.
zip
81 unzip -qo /tmp
/waffle-
$target.
zip -d /opt
/waffle
/$target
82 test -d /opt
/waffle
/$target/waffle
83 rm /tmp
/waffle-
$target.
zip
86 curl
-s -L "https://dri.freedesktop.org/libdrm/libdrm-2.4.98.tar.bz2" -o /tmp
/libdrm-2.4
.98.
tar.bz2