void-packages/srcpkgs/open-vm-tools/patches/0001-recognize-Void.patch

24 lines
1.2 KiB
Diff

#inspired by alpine
#upstream: no
--- a/open-vm-tools/lib/include/guest_os.h
+++ b/open-vm-tools/lib/include/guest_os.h
@@ -309,6 +309,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
#define STR_OS_ULTRAPENGUIN "UltraPenguin"
#define STR_OS_UNITEDLINUX "UnitedLinux"
#define STR_OS_VALINUX "VALinux"
+#define STR_OS_VOID "Void Linux"
#define STR_OS_YELLOW_DOG "Yellow Dog"
#define STR_OS_ECOMSTATION "eComStation"
--- a/open-vm-tools/lib/misc/hostinfoPosix.c
+++ b/open-vm-tools/lib/misc/hostinfoPosix.c
@@ -1288,6 +1288,7 @@
{ "ubuntu", STR_OS_UBUNTU, HostinfoGenericSetShortName },
{ "ultra penguin", STR_OS_ULTRAPENGUIN, HostinfoGenericSetShortName },
{ "united linux", STR_OS_UNITEDLINUX, HostinfoGenericSetShortName },
+{ "void linux", STR_OS_VOID, HostinfoGenericSetShortName },
{ "va linux", STR_OS_VALINUX, HostinfoGenericSetShortName },
{ "vmware photon", STR_OS_PHOTON, HostinfoGenericSetShortName },
{ "yellow dog", STR_OS_YELLOW_DOG, HostinfoGenericSetShortName },