VirtualBox

Changeset 68617 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Sep 4, 2017 8:51:22 AM (7 years ago)
Author:
vboxsync
Message:

Solaris/Installer: Try workaround S11.4 version numbering change.

File:
1 edited

Legend:

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

    r62471 r68617  
    229229}
    230230
    231 # get_sysinfo_other()
     231# get_unofficial_sysinfo()
    232232# cannot fail
    233233get_unofficial_sysinfo()
     
    235235    HOST_OS_MAJORVERSION="11"
    236236    HOST_OS_MINORVERSION="151"
     237}
     238
     239# get_s11_4_sysinfo()
     240# cannot fail
     241get_s11_4_sysinfo()
     242{
     243    # See check in plumb_net for why this is > 174. The alternative is we declare 11.4 as S12 with
     244    # a more accurate minor (build) version number. For now this is sufficient to workaround the ever
     245    # changing version numbering policy.
     246    HOST_OS_MAJORVERSION="11"
     247    HOST_OS_MINORVERSION="175"
    237248}
    238249
     
    241252get_sysinfo()
    242253{
    243     # First check 'uname -v' and weed out the recognized, unofficial distros of Solaris
    244254    STR_OSVER=`uname -v`
    245255    case "$STR_OSVER" in
     256        # First check 'uname -v' and weed out the recognized, unofficial distros of Solaris
    246257        omnios*|oi_*|illumos*)
    247258            get_unofficial_sysinfo
    248259            return 0
    249260            ;;
     261        # Quick escape workaround for Solaris 11.4, changes the pkg FMRI (yet again). See BugDB #26494983.
     262        11.4.*)
     263            get_s11_4_sysinfo
     264            return 0
    250265    esac
    251266
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