VirtualBox

Changes between Initial Version and Version 2 of Ticket #10919


Ignore:
Timestamp:
Sep 24, 2012 12:50:17 PM (12 years ago)
Author:
Frank Mehnert
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10919 – Description

    initial v2  
    11I updated my workstation to Solaris 12 build 4, removed vbox 4.1.18 and installed
    22the 4.2.0 version. The postinstall script has a problem:
    3 
    4 ========
     3{{{
    54## Executing postinstall script.
    65Checking for older bits...
     
    1615   * Warning!! Importing Zone access service  ...FAILED.
    1716   * Warning!! Refer /var/svc/log/system-manifest-import:default.log for details.
    18 ========
     17}}}
    1918
    2019Firstly, this isn't Solaris 5.11 Version 12, it's Solaris 12.
     
    2625
    2726If you check the kernel version with
    28 
     27{{{
    2928STR_KERN=`pkg info kernel |awk '/Branch/ {print $2}'`
    30 
     29}}}
    3130then you can use something like this to determine OS minor / micro versions:
    32 
     31{{{
    3332if [[ $STR_KERN =~ 5.12 ]]; then
    3433    # Next Release under development
     
    4746    HOST_OS_MINORVERSION=`echo $STR_KERN|awk -F"." '{print $6}'`
    4847fi
    49 
     48}}}
    5049
    5150** I'll ignore for a moment that the Major Solaris Version is _5_ and not _5.11_.
     
    5453Then when you do the vboxusb addition, you should firstly check the major then minor
    5554OS versions:
    56 
     55{{{
    5756if [[ $HOST_OS_MAJORVERSION == "5.12" -o $HOST_OS_MAJORVERSION == "11.[1-9]" \
    5857   -o ( $HOST_OS_MAJORVERSION == "11" -a $HOST_OS_MINORVERSION -ge 123 ) ]] ; then
     
    6160
    6261fi
    63 
    64 
    65 
    66 
     62}}}

© 2023 Oracle
ContactPrivacy policyTerms of Use