Changeset 93358 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jan 20, 2022 11:18:59 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UnattendedImpl.cpp
r93339 r93358 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 */ 823 || RTStrNICmp(pszArch, RT_STR_TUPLE("aarch64")) == 0 /* as seen in OL 7.8 Server */) 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 */ ) 824 823 { 825 824 *penmOsType = (VBOXOSTYPE)(enmBaseOsType | VBOXOSTYPE_x64); … … 854 853 static bool detectLinuxArchII(const char *pszArch, VBOXOSTYPE *penmOsType, VBOXOSTYPE enmBaseOsType) 855 854 { 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 */) 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 */ ) 861 859 { 862 860 *penmOsType = (VBOXOSTYPE)(enmBaseOsType | VBOXOSTYPE_x64);
Note:
See TracChangeset
for help on using the changeset viewer.