From 6ca1504312728b9864aebe1b53b1b6207aaa10d6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Dec 2012 00:10:31 +0100 Subject: Adding default hook to use mesa glx renderer. --- share/hooks/0180-update-glx-alternative.chroot | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 share/hooks/0180-update-glx-alternative.chroot (limited to 'share/hooks') diff --git a/share/hooks/0180-update-glx-alternative.chroot b/share/hooks/0180-update-glx-alternative.chroot new file mode 100755 index 000000000..8c36c43f9 --- /dev/null +++ b/share/hooks/0180-update-glx-alternative.chroot @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +# Use mesa renderer by default +if [ -e /etc/alternatives/glx ] +then + update-alternatives --quiet --set glx /usr/lib/mesa-diverted +fi -- cgit v1.2.3