- Timestamp:
- Sep 24, 2012 5:22:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/vboxconfig.sh
r43418 r43420 256 256 STR_KERN_MINOR=`echo "$PKGFMRI" | sed 's/^.*\@//;s/\:.*//;s/.*,//'` 257 257 if test ! -z "$STR_KERN_MINOR"; then 258 # The format is "5.11-0.161" or "5.11-0.175.0.0.0.1.0" or "5.11-5.12.0.0.0.4.1" 259 HOST_OS_MINORVERSION=`echo "$STR_KERN_MINOR" | cut -f2 -d'-' | cut -f2 -d '.'` 258 # The HOST_OS_MINORVERSION is represented as follows: 259 # For S12 it represents the build numbers. e.g. for 4 : "5.11-5.12.0.0.0.4.1" 260 # For S11 as the "nevada" version numbers. e.g. for 175: "5.11-0.161" or "5.11-0.175.0.0.0.1.0" 261 if test "$HOST_OS_MAJOR_VERSION" -eq 12; then 262 HOST_OS_MINORVERSION=`echo "$STR_KERN_MINOR" | cut -f2 -d'-' | cut -f6 -d '.'` 263 elif test "$HOST_OS_MAJORVERSION" -eq 11; then 264 HOST_OS_MINORVERSION=`echo "$STR_KERN_MINOR" | cut -f2 -d'-' | cut -f2 -d '.'` 265 fi 260 266 else 261 267 errorprint "Failed to parse the Solaris kernel minor version."
Note:
See TracChangeset
for help on using the changeset viewer.