fi
apt-get update -y
+apt-get install -y -t buster-backports meson
+apt-get -t buster-backports build-dep -y libdrm
+apt-get -t buster-backports build-dep -y mesa
apt-get install -y build-essential \
cmake \
git \
libzstd-dev \
libzstd1 \
zlib1g
-apt-get install -y -t buster-backports meson
-apt-get build-dep -y libdrm
-apt-get build-dep -y mesa
#!!! buster backports is needed for a lot of things
cat << EOF > /opt/chroot/$chrootdir/etc/apt/sources.list.d/buster_backports.list
deb http://deb.debian.org/debian buster-backports main
+deb-src http://deb.debian.org/debian buster-backports main
EOF
# oooo annoying, pin preferences for buster-backports