Only set vboxvideo driver automatically in xserver-xorg script for virtualbox systems...
authorDaniel Baumann <daniel@debian.org>
Wed, 2 Jan 2013 07:24:37 +0000 (08:24 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 2 Jan 2013 07:24:49 +0000 (08:24 +0100)
scripts/config/1150-xserver-xorg

index d4a1862..da2cf90 100755 (executable)
@@ -117,7 +117,7 @@ Configure_xserver_xorg ()
                        if [ -z "${LIVE_XORG_DRIVER}" ]
                        then
                                # xorg-driver automatic override for virtualbox
-                               if echo "${_DEVICE}" | grep -qs '^80EEBEEF'
+                               if [ -e /var/lib/dpkg/info/virtualbox-guest-x11.list ] && echo "${_DEVICE}" | grep -qs '^80EEBEEF'
                                then
                                        LIVE_XORG_DRIVER="vboxvideo"
                                fi