VirtualBox

Changeset 62551 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Jul 25, 2016 6:44:22 PM (8 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: simplify loading of 3D library. I hope that this will not cause any regressions, but I also hope it will prevent non-obvious failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r62397 r62551  
    228228    # multi-architecture installations
    229229    rm -f /etc/ld.so.conf.d/00vboxvideo.conf
    230     ldconfig
    231230    if /usr/bin/VBoxClient --check3d 2>/dev/null; then
    232         rm -f /var/lib/VBoxGuestAdditions/lib/system/tmp.so
    233         mkdir -m 0755 -p /var/lib/VBoxGuestAdditions/lib/system
    234         ldconfig -p | while read -r line; do
    235             case "${line}" in "libGL.so.1 ${ldconfig_arch} => "*)
    236                 ln -s "${line#libGL.so.1 ${ldconfig_arch} => }" /var/lib/VBoxGuestAdditions/lib/system/tmp.so
    237                 mv /var/lib/VBoxGuestAdditions/lib/system/tmp.so /var/lib/VBoxGuestAdditions/lib/system/libGL.so.1
    238                 break
    239             esac
    240         done
    241         ldconfig -p | while read -r line; do
    242             case "${line}" in "libEGL.so.1 ${ldconfig_arch} => "*)
    243                 ln -s "${line#libEGL.so.1 ${ldconfig_arch} => }" /var/lib/VBoxGuestAdditions/lib/system/tmp.so
    244                 mv /var/lib/VBoxGuestAdditions/lib/system/tmp.so /var/lib/VBoxGuestAdditions/lib/system/libEGL.so.1
    245                 break
    246             esac
    247         done
     231        mkdir -p /var/lib/VBoxGuestAdditions/lib
    248232        ln -sf "${INSTALL_DIR}/lib/VBoxOGL.so" /var/lib/VBoxGuestAdditions/lib/libGL.so.1
    249233        ln -sf "${INSTALL_DIR}/lib/VBoxEGL.so" /var/lib/VBoxGuestAdditions/lib/libEGL.so.1
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette