VirtualBox

Changeset 36850 in vbox


Ignore:
Timestamp:
Apr 26, 2011 4:12:43 PM (14 years ago)
Author:
vboxsync
Message:

Additions/solaris: Support 64-bit only Xorg binary releases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/postinstall.sh

    r36792 r36850  
    213213        vboxvideo64_dest_base=$vboxvideo32_dest_base/$solaris64dir
    214214
     215        # snv_163 drops 32-bit support completely, and uses 32-bit locations for the 64-bit stuff. Ugly.
     216        # We try to detect this by looking at bitness of "mouse_drv.so", and adjust our destination paths accordingly.
     217        bitsize=`file $vboxmouse32_dest_base/mouse_drv.so | grep "32-bit"`
     218        skip32="no"
     219        if test -z "$bitsize"; then
     220            skip32="yes"
     221            vboxmouse64_dest_base=$vboxmouse32_dest_base
     222            vboxvideo64_dest_base=$vboxvideo32_dest_base
     223        fi
     224
    215225        # Make sure destination path exists
    216226        if test ! -d $vboxmouse32_dest_base || test ! -d $vboxvideo32_dest_base || test ! -d $vboxmouse64_dest_base || test ! -d $vboxvideo64_dest_base; then
     
    222232        else
    223233            # 32-bit x11 drivers
    224             if test -f "$vboxadditions32_path/$vboxmouse_src"; then
     234            if test "$skip32" = "no" && test -f "$vboxadditions32_path/$vboxmouse_src"; then
    225235                vboxmouse_dest="$vboxmouse32_dest_base/vboxmouse_drv.so"
    226236                vboxvideo_dest="$vboxvideo32_dest_base/vboxvideo_drv.so"
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