- Timestamp:
- Jan 19, 2022 8:38:19 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UnattendedImpl.cpp
r93311 r93339 817 817 static bool detectLinuxArch(const char *pszArch, VBOXOSTYPE *penmOsType, VBOXOSTYPE enmBaseOsType) 818 818 { 819 if ( RTStrNICmp(pszArch, RT_STR_TUPLE("amd64")) == 0 820 || RTStrNICmp(pszArch, RT_STR_TUPLE("x86_64")) == 0 821 || RTStrNICmp(pszArch, RT_STR_TUPLE("x86-64")) == 0 /* just in case */ 822 || RTStrNICmp(pszArch, RT_STR_TUPLE("x64")) == 0 /* ditto */ ) 819 if ( RTStrNICmp(pszArch, RT_STR_TUPLE("amd64")) == 0 820 || RTStrNICmp(pszArch, RT_STR_TUPLE("x86_64")) == 0 821 || RTStrNICmp(pszArch, RT_STR_TUPLE("x86-64")) == 0 /* just in case */ 822 || RTStrNICmp(pszArch, RT_STR_TUPLE("x64")) == 0 /* ditto */ 823 || RTStrNICmp(pszArch, RT_STR_TUPLE("aarch64")) == 0 /* as seen in OL 7.8 Server */) 823 824 { 824 825 *penmOsType = (VBOXOSTYPE)(enmBaseOsType | VBOXOSTYPE_x64); … … 853 854 static bool detectLinuxArchII(const char *pszArch, VBOXOSTYPE *penmOsType, VBOXOSTYPE enmBaseOsType) 854 855 { 855 if ( RTStrIStr(pszArch, "amd64") != NULL 856 || RTStrIStr(pszArch, "x86_64") != NULL 857 || RTStrIStr(pszArch, "x86-64") != NULL /* just in case */ 858 || RTStrIStr(pszArch, "x64") != NULL /* ditto */ ) 856 if ( RTStrIStr(pszArch, "amd64") != NULL 857 || RTStrIStr(pszArch, "x86_64") != NULL 858 || RTStrIStr(pszArch, "x86-64") != NULL /* just in case */ 859 || RTStrIStr(pszArch, "x64") != NULL /* ditto */ 860 || RTStrIStr(pszArch, "aarch64") != NULL /* as seen in OL 7.8 Server */) 859 861 { 860 862 *penmOsType = (VBOXOSTYPE)(enmBaseOsType | VBOXOSTYPE_x64);
Note:
See TracChangeset
for help on using the changeset viewer.