VirtualBox

Changeset 95154 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 1, 2022 8:09:21 AM (3 years ago)
Author:
vboxsync
Message:

Main/Unattended: bugref:9781. Detect OpenSUSE distro name and black list it for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/UnattendedImpl.cpp

    r95064 r95154  
    13661366            fRet = false;
    13671367    }
     1368    else if (   RTStrNICmp(pszOsAndVersion, RT_STR_TUPLE("OpenSUSE")) == 0
     1369             && !RT_C_IS_ALNUM(pszOsAndVersion[8]))
     1370    {
     1371        *penmOsType = (VBOXOSTYPE)((*penmOsType & VBOXOSTYPE_x64) | VBOXOSTYPE_OpenSUSE);
     1372        pszOsAndVersion = RTStrStripL(pszOsAndVersion + 8);
     1373    }
    13681374    else if (   RTStrNICmp(pszOsAndVersion, RT_STR_TUPLE("Oracle")) == 0
    13691375             && !RT_C_IS_ALNUM(pszOsAndVersion[6]))
     
    36473653        }
    36483654    }
    3649 
     3655    /* Skip all OpenSUSE variants for now. */
     3656    if ((mEnmOsType & 0xff000) == VBOXOSTYPE_OpenSUSE)
     3657    {
     3658        *aIsUnattendedInstallSupported = false;
     3659        return S_OK;
     3660    }
    36503661    *aIsUnattendedInstallSupported = true;
    36513662    return S_OK;
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