[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697146: xserver-xorg script forces vboxvideo even if virtualbox guest additions are not installed



Package: live-config
Version: 3.0.15-1
Tags: patch

The xserver-xorg script is forcing the 'vboxvideo' driver on virtualbox
even if the guest additions (virtualbox-guest-x11 package) are not
installed. This leads to X not starting on live systems without that
package.

The attached simple patch should resolve the issue (still not tested, I
will do in the coming hours).


Regards,
Eugenio

-- 
.: Eugenio Paolantonio - Semplice Linux developer :.

http://semplice-linux.org
http://medesimo.eu

Twitter: @eugenio_g7 - Homepage: http://me.medesimo.eu
--- a/scripts/config/1150-xserver-xorg
+++ b/scripts/config/1150-xserver-xorg
@@ -117,7 +117,7 @@
 			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

Reply to: