VirtualBox

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


Ignore:
Timestamp:
May 23, 2018 11:17:08 AM (7 years ago)
Author:
vboxsync
Message:

Installer/solaris: Added a Solaris version, fixed tabs to spaces.

File:
1 edited

Legend:

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

    r69500 r72294  
    237237}
    238238
    239 # get_s11_4_sysinfo()
     239# get_s11_4_or_newer_sysinfo()
    240240# cannot fail
    241 get_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
     241get_s11_4_or_newer_sysinfo()
     242{
     243    # See check in plumb_net for why this is > 174. The alternative is we declare 11.4+ as S12 with
    244244    # a more accurate minor (build) version number. For now this is sufficient to workaround the ever
    245245    # changing version numbering policy.
     
    254254    STR_OSVER=`uname -v`
    255255    case "$STR_OSVER" in
    256         # First check 'uname -v' and weed out the recognized, unofficial distros of Solaris
     256    # First check 'uname -v' and weed out the recognized, unofficial distros of Solaris
    257257        omnios*|oi_*|illumos*)
    258258            get_unofficial_sysinfo
    259259            return 0
    260260            ;;
    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
     261    # Quick escape workaround for Solaris 11.4+, changes the pkg FMRI (yet again). See BugDB #26494983.
     262        11.4.* | 11.5.*)
     263        get_s11_4_or_newer_sysinfo
     264        return 0
    265265    esac
    266266
     
    12111211        if test "$HOST_OS_MAJORVERSION" -eq 10; then
    12121212            for lib in `ls -1 /opt/VirtualBox/legacy/`; do
    1213                /usr/sbin/installf -c none $PKGINST /opt/VirtualBox/$lib=legacy/$lib s
     1213            /usr/sbin/installf -c none $PKGINST /opt/VirtualBox/$lib=legacy/$lib s
    12141214            done
    12151215            for lib in `ls -1 /opt/VirtualBox/amd64/legacy/`; do
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