VirtualBox

Ignore:
Timestamp:
Sep 2, 2008 1:45:58 PM (16 years ago)
Author:
vboxsync
Message:

Solaris/additions: 64-bit guest fix.

File:
1 edited

Legend:

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

    r10104 r11990  
    2525# vboxguest.sh would've been installed, we just need to call it.
    2626$vboxadditions_path/vboxguest.sh restart silentunload
     27
     28# get what ISA the guest is running
     29cputype=`isainfo -k`
     30isadir=""
     31if test "$cputype" = "amd64"; then
     32    isadir="amd64"
     33fi
     34
    2735
    2836# suid permissions for timesync
     
    7583else
    7684    echo "Configuring Xorg..."
    77     vboxmouse_dest="/usr/X11/lib/modules/input/vboxmouse_drv.so"
    78     vboxvideo_dest="/usr/X11/lib/modules/input/vboxvideo_drv.so"
     85    vboxmouse_dest="/usr/X11/lib/modules/input/$isadir/vboxmouse_drv.so"
     86    vboxvideo_dest="/usr/X11/lib/modules/input/$isadir/vboxvideo_drv.so"
    7987    /usr/sbin/installf -c none $PKGINST "$vboxmouse_dest" f
    8088    /usr/sbin/installf -c none $PKGINST "$vboxvideo_dest" f
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