Changeset 33039 in vbox
- Timestamp:
- Oct 11, 2010 12:00:41 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Installer/solaris/vboxconfig.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/vboxconfig.sh
r32640 r33039 21 21 # S10 or OpenSoalris 22 22 HOST_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)? 24 HOST_OS_MINORVERSION=`uname -v | egrep 'snv|oi' | sed -e "s/snv_//" -e "s/oi_//" -e "s/[^0-9]//"` 25 25 26 26 DIR_VBOXBASE="$PKG_INSTALL_ROOT/opt/VirtualBox" … … 225 225 HOST_OS_MAJORVERSION="5.10" 226 226 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_"` 228 228 if test -n "$HOST_OS_MAJORVERSION"; then 229 229 HOST_OS_MAJORVERSION="5.11" … … 231 231 fi 232 232 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]//"` 234 234 else 235 235 HOST_OS_MINORVERSION="" … … 528 528 else 529 529 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." 531 531 else 532 532 warnprint "Failed to determine Solaris 5.11 snv version. Skipped installing USB support."
Note:
See TracChangeset
for help on using the changeset viewer.

