Changeset 24487 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Nov 9, 2009 11:01:47 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54571
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh
r24477 r24487 308 308 vboxvideo_src=vboxvideo_drv_16.so 309 309 vboxmouse_src=vboxmouse_drv_16.so 310 dox11config =0310 dox11config15=1 311 311 ;; 312 312 1.4.99.* | 1.5.* ) … … 385 385 echo "this guest." 386 386 fi 387 # Install selinux policy for Fedora 7 and 8 to allow the X server to open device files 387 # Install selinux policy for Fedora 7 and 8 to allow the X server to 388 # open device files 388 389 case "$redhat_release" in 389 390 Fedora\ release\ 7* | Fedora\ release\ 8* ) … … 397 398 chcon -t unconfined_execmem_exec_t '/usr/bin/VBoxClient' > /dev/null 2>&1 398 399 semanage fcontext -a -t unconfined_execmem_exec_t '/usr/bin/VBoxClient' > /dev/null 2>&1 400 401 # Certain Ubuntu/Debian versions use a special PCI-id file to identify 402 # video drivers. Some versions have the directory and don't use it. 403 # Those versions can autoload vboxvideo though, so we don't need to 404 # hack the configuration file for them. 405 test -f /etc/debian_version -a -d /usr/share/xserver-xorg/pci && 406 { 407 test -h -a ! -e "$lib_dir/vboxvideo.ids" && 408 rm -f "$lib_dir/vboxvideo.ids" 409 ln -s "$lib_dir/vboxvideo.ids" /usr/share/xserver-xorg/pci 2>/dev/null 410 test "$useHalForMouse" -eq 1 && doX11Config=0 411 } 399 412 400 413 # Do the XF86Config/xorg.conf hack for those versions that require it … … 442 455 443 456 # Certain Ubuntu/Debian versions use a special PCI-id file to identify 444 # video drivers 445 if [ -f /etc/debian_version ] 446 then 447 if [ -d /usr/share/xserver-xorg/pci ] 448 then 449 ln -s "$share_dir/vboxvideo.ids" /usr/share/xserver-xorg/pci 2>/dev/null 450 fi 451 fi 452 453 # And X.Org Server versions starting with 1.5 can do mouse auto-detection, 457 # video drivers. Some versions have the directory and don't use it. 458 # Those versions can autoload vboxvideo though, so we don't need to 459 # hack the configuration file for them. 460 test -f /etc/debian_version -a -d /usr/share/xserver-xorg/pci && 461 { 462 test -h -a ! -e "$share_dir/vboxvideo.ids" && 463 rm -rf "$share_dir/vboxvideo.ids" 464 ln -s "$share_dir/vboxvideo.ids" /usr/share/xserver-xorg/pci 2>/dev/null 465 test "$useHalForMouse" -eq 1 && doX11Config=0 466 } 467 468 # X.Org Server versions starting with 1.5 can do mouse auto-detection, 454 469 # to make our lives easier and spare us the nasty hacks. 455 470 if [ $useHalForMouse -eq 1 ]
Note:
See TracChangeset
for help on using the changeset viewer.