From: Kruti Date: Mon, 15 Jul 2024 09:56:38 +0000 (-0700) Subject: Change to common source files not applicable to open-vm-tools. X-Git-Tag: stable-12.5.0~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ecb5a9bedcc6ddd6a19dd3b24ca577e463c6257;p=thirdparty%2Fopen-vm-tools.git Change to common source files not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/guest_os.h b/open-vm-tools/lib/include/guest_os.h index 727b5639b..e85d649b8 100644 --- a/open-vm-tools/lib/include/guest_os.h +++ b/open-vm-tools/lib/include/guest_os.h @@ -333,6 +333,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set); #define STR_OS_FUSION_OS "fusionos" #define STR_OS_GENTOO "Gentoo" #define STR_OS_IMMUNIX "Immunix" +#define STR_OS_KYLIN_LINUX "kylinlinux" #define STR_OS_LINUX "linux" #define STR_OS_LINUX_FROM_SCRATCH "Linux-From-Scratch" #define STR_OS_LINUX_FULL "Other Linux" diff --git a/open-vm-tools/lib/misc/hostinfoPosix.c b/open-vm-tools/lib/misc/hostinfoPosix.c index 386fbd94b..9bacef186 100644 --- a/open-vm-tools/lib/misc/hostinfoPosix.c +++ b/open-vm-tools/lib/misc/hostinfoPosix.c @@ -1419,6 +1419,7 @@ static const ShortNameSet shortNameArray[] = { { "fusionos", STR_OS_FUSION_OS, HostinfoGenericSetShortName }, { "gentoo", STR_OS_GENTOO, HostinfoGenericSetShortName }, { "immunix", STR_OS_IMMUNIX, HostinfoGenericSetShortName }, +{ "kylin linux", STR_OS_KYLIN_LINUX, HostinfoGenericSetShortName }, { "linux-from-scratch", STR_OS_LINUX_FROM_SCRATCH, HostinfoGenericSetShortName }, { "linux-ppc", STR_OS_LINUX_PPC, HostinfoGenericSetShortName }, { "mandrake", STR_OS_MANDRAKE, HostinfoGenericSetShortName },