From bca33a99065475285a114ba264dc0c7a89ba4e94 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 17 Jul 2022 17:54:31 +0000 Subject: [PATCH] installing mesa deps needs meson drm mesa first --- install-mesa-apt-reqs | 6 +++--- mk-deb-chroot | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/install-mesa-apt-reqs b/install-mesa-apt-reqs index 9777f3e..3ee7e95 100755 --- a/install-mesa-apt-reqs +++ b/install-mesa-apt-reqs @@ -7,6 +7,9 @@ if [ "$EUID" -ne 0 ] 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 \ @@ -24,6 +27,3 @@ apt-get install -y build-essential \ libzstd-dev \ libzstd1 \ zlib1g -apt-get install -y -t buster-backports meson -apt-get build-dep -y libdrm -apt-get build-dep -y mesa diff --git a/mk-deb-chroot b/mk-deb-chroot index d83f85c..d1347e7 100755 --- a/mk-deb-chroot +++ b/mk-deb-chroot @@ -112,6 +112,7 @@ fi #!!! 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 -- 2.30.2