Changes between Initial Version and Version 2 of Ticket #10919
- Timestamp:
- Sep 24, 2012 12:50:17 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10919 – Description
initial v2 1 1 I updated my workstation to Solaris 12 build 4, removed vbox 4.1.18 and installed 2 2 the 4.2.0 version. The postinstall script has a problem: 3 4 ======== 3 {{{ 5 4 ## Executing postinstall script. 6 5 Checking for older bits... … … 16 15 * Warning!! Importing Zone access service ...FAILED. 17 16 * Warning!! Refer /var/svc/log/system-manifest-import:default.log for details. 18 ======== 17 }}} 19 18 20 19 Firstly, this isn't Solaris 5.11 Version 12, it's Solaris 12. … … 26 25 27 26 If you check the kernel version with 28 27 {{{ 29 28 STR_KERN=`pkg info kernel |awk '/Branch/ {print $2}'` 30 29 }}} 31 30 then you can use something like this to determine OS minor / micro versions: 32 31 {{{ 33 32 if [[ $STR_KERN =~ 5.12 ]]; then 34 33 # Next Release under development … … 47 46 HOST_OS_MINORVERSION=`echo $STR_KERN|awk -F"." '{print $6}'` 48 47 fi 49 48 }}} 50 49 51 50 ** I'll ignore for a moment that the Major Solaris Version is _5_ and not _5.11_. … … 54 53 Then when you do the vboxusb addition, you should firstly check the major then minor 55 54 OS versions: 56 55 {{{ 57 56 if [[ $HOST_OS_MAJORVERSION == "5.12" -o $HOST_OS_MAJORVERSION == "11.[1-9]" \ 58 57 -o ( $HOST_OS_MAJORVERSION == "11" -a $HOST_OS_MINORVERSION -ge 123 ) ]] ; then … … 61 60 62 61 fi 63 64 65 66 62 }}}