Changeset 50312 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Feb 3, 2014 4:56:24 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh
r50107 r50312 296 296 test -c /dev/psaux && nopsaux="";; 297 297 esac 298 # Should we use the VMSVGA driver instead of VBoxVideo? 299 vmsvga="" 300 if ! grep 80eebeef /proc/bus/pci/devices > /dev/null; then 301 vmsvga="--vmsvga" 302 fi 298 303 # The video driver to install for X.Org 6.9+ 299 304 vboxvideo_src= … … 340 345 xserver_version="X.Org Server 1.11" 341 346 vboxvideo_src=vboxvideo_drv_111.so 342 test "$system" = "redhat" || setupxorgconf=""347 test "$system" = "redhat" && test -z "${vmsvga}" || setupxorgconf="" 343 348 ;; 344 349 1.10.* ) 345 350 xserver_version="X.Org Server 1.10" 346 351 vboxvideo_src=vboxvideo_drv_110.so 347 test "$system" = "redhat" || setupxorgconf=""352 test "$system" = "redhat" && test -z "${vmsvga}" || setupxorgconf="" 348 353 ;; 349 354 1.9.* ) … … 351 356 vboxvideo_src=vboxvideo_drv_19.so 352 357 # Fedora 14 to 16 patched out vboxvideo detection 353 test "$system" = "redhat" || setupxorgconf=""358 test "$system" = "redhat" && test -z "${vmsvga}" || setupxorgconf="" 354 359 ;; 355 360 1.8.* ) … … 357 362 vboxvideo_src=vboxvideo_drv_18.so 358 363 # Fedora 13 shipped without vboxvideo detection 359 test "$system" = "redhat" || setupxorgconf=""364 test "$system" = "redhat" && test -z "${vmsvga}" || setupxorgconf="" 360 365 ;; 361 366 1.7.* ) … … 479 484 generated="$generated `printf "$i\n"`" 480 485 else 481 "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux "$i"486 "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux $vmsvga "$i" 482 487 fi 483 488 configured="true" … … 492 497 if test -z "$configured"; then 493 498 touch "$main_cfg" 494 "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux --noBak "$main_cfg"499 "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux $vmsvga --noBak "$main_cfg" 495 500 touch "${nobak_cfg}" 496 501 fi
Note:
See TracChangeset
for help on using the changeset viewer.