Commit c4a847c6 authored by Alexandros Frantzis's avatar Alexandros Frantzis

Update debian to buster

Signed-off-by: Alexandros Frantzis's avatarAlexandros Frantzis <alexandros.frantzis@collabora.com>
parent 0e7c2bab
Pipeline #72742 passed with stages
in 14 minutes and 1 second
......@@ -14,8 +14,8 @@
# repository's registry will be used there as well.
variables:
# UPSTREAM_REPO: mesa/mesa
DEBIAN_TAG: "2019-09-06"
DEBIAN_VERSION: stretch-slim
DEBIAN_TAG: "2019-09-26.0"
DEBIAN_VERSION: buster-slim
DEBIAN_IMAGE: "$CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_TAG"
include:
......
......@@ -5,50 +5,19 @@ set -o xtrace
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y \
apt-transport-https \
ca-certificates \
wget
apt-get install -y git
echo 'deb https://deb.debian.org/debian stretch-backports main' >/etc/apt/sources.list.d/backports.list
apt-get update
apt-get install -t stretch-backports -y \
wget \
libdrm-dev \
meson
rm /etc/apt/sources.list.d/backports.list
# Stretch is old-stable, as such we want to move to buster soonish.
# In there we don't need to build the proto package, since it's recent enough.
# The following should do it:
#echo 'deb https://deb.debian.org/debian buster main' >/etc/apt/sources.list.d/buster.list
#apt-get update
#apt-get install -t buster -y x11proto-dev
#rm /etc/apt/sources.list.d/buster.list
apt-get install -y \
bzip2 \
gcc \
libc6-dev \
make
export XORG_RELEASES=https://xorg.freedesktop.org/releases/individual
export XORGPROTO_VERSION=xorgproto-2019.1
wget $XORG_RELEASES/proto/$XORGPROTO_VERSION.tar.bz2
tar -xvf $XORGPROTO_VERSION.tar.bz2 && rm $XORGPROTO_VERSION.tar.bz2
cd $XORGPROTO_VERSION; ./configure; make install; cd ..
rm -rf $XORGPROTO_VERSION
apt-get purge -y \
bzip2 \
gcc \
libc6-dev \
make
x11proto-dev \
meson \
git
echo 'deb-src https://deb.debian.org/debian stretch main' > /etc/apt/sources.list.d/deb-src.list
echo 'deb-src https://deb.debian.org/debian stretch-updates main' >> /etc/apt/sources.list.d/deb-src.list
echo 'deb-src https://deb.debian.org/debian buster main' > /etc/apt/sources.list.d/deb-src.list
echo 'deb-src https://deb.debian.org/debian buster-updates main' >> /etc/apt/sources.list.d/deb-src.list
apt-get update
apt-get build-dep -y xvfb
git clone --single-branch --branch sent/xvfb-render-node https://gitlab.freedesktop.org/evelikov/xserver
......@@ -76,7 +45,6 @@ popd
rm -rf xserver
rm /etc/apt/sources.list.d/deb-src.list
apt-get update
apt-get purge -y git
# Download and run upstream Mesa debian-install.sh to install all dependencies
# for building Mesa
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment