raspi-config now checks for mesa driver before allowing GL driver to be enabled.

This commit is contained in:
spl 2016-02-09 13:52:03 +00:00 committed by Serge Schneider
parent f79bbfcab0
commit ea2b690b38
1 changed files with 4 additions and 0 deletions

View File

@ -1003,6 +1003,10 @@ do_gldriver() {
whiptail --msgbox "Driver and kernel not present on your system. Please update" 20 60 2
return 1
fi
if [ $(dpkg -l libgl1-mesa-dri | tail -n 1 | cut -d ' ' -f 1) != "ii" ]; then
whiptail --msgbox "libgl1-mesa-dri not found - please install" 20 60 2
return 1
fi
if [ ! -e /usr/bin/xcompmgr ]; then
whiptail --msgbox "xcompmgr not found - please install" 20 60 2
return 1