VirtualBox

Changeset 33039 in vbox


Ignore:
Timestamp:
Oct 11, 2010 12:00:41 PM (14 years ago)
Author:
vboxsync
Message:

Solaris/Installer: Install USB on OpenIndiana based installs.

File:
1 edited

Legend:

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

    r32640 r33039  
    2121# S10 or OpenSoalris
    2222HOST_OS_MAJORVERSION=`uname -r`
    23 # Which OpenSolaris version (snv_xxx)?
    24 HOST_OS_MINORVERSION=`uname -v | grep 'snv' | sed -e "s/snv_//" -e "s/[^0-9]//"`
     23# Which OpenSolaris version (snv_xxx or oi_xxx)?
     24HOST_OS_MINORVERSION=`uname -v | egrep 'snv|oi' | sed -e "s/snv_//" -e "s/oi_//" -e "s/[^0-9]//"`
    2525
    2626DIR_VBOXBASE="$PKG_INSTALL_ROOT/opt/VirtualBox"
     
    225225                HOST_OS_MAJORVERSION="5.10"
    226226            else
    227                 HOST_OS_MAJORVERSION=`cat $PKG_INSTALL_ROOT/etc/release | grep "snv_"`
     227                HOST_OS_MAJORVERSION=`cat $PKG_INSTALL_ROOT/etc/release | egrep "snv_|oi_"`
    228228                if test -n "$HOST_OS_MAJORVERSION"; then
    229229                    HOST_OS_MAJORVERSION="5.11"
     
    231231            fi
    232232            if test "$HOST_OS_MAJORVERSION" != "5.10"; then
    233                 HOST_OS_MINORVERSION=`cat $PKG_INSTALL_ROOT/etc/release | tr ' ' '\n' | grep 'snv_' | sed -e "s/snv_//" -e "s/[^0-9]//"`
     233                HOST_OS_MINORVERSION=`cat $PKG_INSTALL_ROOT/etc/release | tr ' ' '\n' | egrep 'snv_|oi_' | sed -e "s/snv_//" -e "s/oi_//" -e "s/[^0-9]//"`
    234234            else
    235235                HOST_OS_MINORVERSION=""
     
    528528        else
    529529            if test -n "$HOST_OS_MINORVERSION"; then
    530                 warnprint "Solaris 5.11 snv_124 or higher required for USB support. Skipped installing USB support."
     530                warnprint "Solaris 5.11 build 124 or higher required for USB support. Skipped installing USB support."
    531531            else
    532532                warnprint "Failed to determine Solaris 5.11 snv version. Skipped installing USB support."
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