Merge pull request #75523 from CheariX/open-vm-tools-11.0.1
open-vm-tools: 10.3.10 -> 11.0.1
This commit is contained in:
commit
3d67d0284d
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "open-vm-tools";
|
pname = "open-vm-tools";
|
||||||
version = "10.3.10";
|
version = "11.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vmware";
|
owner = "vmware";
|
||||||
repo = "open-vm-tools";
|
repo = "open-vm-tools";
|
||||||
rev = "stable-${version}";
|
rev = "stable-${version}";
|
||||||
sha256 = "0x2cyccnb4sycrw7r5mzby2d196f9jiph8vyqi0x8v8r2b4vi4yj";
|
sha256 = "1p499ilb2j1s0d7qf19b8nig8ggdq7b60xcgb7bc18g8kp5g82lv";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/open-vm-tools";
|
sourceRoot = "${src.name}/open-vm-tools";
|
||||||
@ -29,6 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p common-agent/etc/config
|
mkdir -p common-agent/etc/config
|
||||||
sed -i 's|.*common-agent/etc/config/Makefile.*|\\|' configure.ac
|
sed -i 's|.*common-agent/etc/config/Makefile.*|\\|' configure.ac
|
||||||
|
|
||||||
|
sed -i 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' Makefile.am
|
||||||
sed -i 's,^confdir = ,confdir = ''${prefix},' scripts/Makefile.am
|
sed -i 's,^confdir = ,confdir = ''${prefix},' scripts/Makefile.am
|
||||||
sed -i 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' services/vmtoolsd/Makefile.am
|
sed -i 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' services/vmtoolsd/Makefile.am
|
||||||
sed -i 's,$(PAM_PREFIX),''${prefix}/$(PAM_PREFIX),' services/vmtoolsd/Makefile.am
|
sed -i 's,$(PAM_PREFIX),''${prefix}/$(PAM_PREFIX),' services/vmtoolsd/Makefile.am
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
diff --git a/lib/include/guest_os.h b/open-vm-tools/lib/include/guest_os.h
|
diff --git a/lib/include/guest_os.h b/lib/include/guest_os.h
|
||||||
index ef202e3..c7a105d 100644
|
index 868dec68..0b9a2ad7 100644
|
||||||
--- a/lib/include/guest_os.h
|
--- a/lib/include/guest_os.h
|
||||||
+++ b/lib/include/guest_os.h
|
+++ b/lib/include/guest_os.h
|
||||||
@@ -238,6 +238,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
|
@@ -278,6 +278,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
|
||||||
#define STR_OS_MANDRAKE_FULL "Mandrake Linux"
|
#define STR_OS_MANDRAKE_FULL "Mandrake Linux"
|
||||||
#define STR_OS_MANDRIVA "mandriva"
|
#define STR_OS_MANDRIVA "mandriva"
|
||||||
#define STR_OS_MKLINUX "MkLinux"
|
#define STR_OS_MKLINUX "MkLinux"
|
||||||
@ -10,11 +10,11 @@ index ef202e3..c7a105d 100644
|
|||||||
#define STR_OS_NOVELL "nld9"
|
#define STR_OS_NOVELL "nld9"
|
||||||
#define STR_OS_NOVELL_FULL "Novell Linux Desktop 9"
|
#define STR_OS_NOVELL_FULL "Novell Linux Desktop 9"
|
||||||
#define STR_OS_ORACLE6 "oraclelinux6"
|
#define STR_OS_ORACLE6 "oraclelinux6"
|
||||||
diff --git a/lib/misc/hostinfoPosix.c b/open-vm-tools/lib/misc/hostinfoPosix.c
|
diff --git a/lib/misc/hostinfoPosix.c b/lib/misc/hostinfoPosix.c
|
||||||
index 0f55070..2d8467c 100644
|
index 348a67ec..5f8beb2b 100644
|
||||||
--- a/lib/misc/hostinfoPosix.c
|
--- a/lib/misc/hostinfoPosix.c
|
||||||
+++ b/lib/misc/hostinfoPosix.c
|
+++ b/lib/misc/hostinfoPosix.c
|
||||||
@@ -195,6 +195,7 @@ static const DistroInfo distroArray[] = {
|
@@ -203,6 +203,7 @@ static const DistroInfo distroArray[] = {
|
||||||
{ "Mandrake", "/etc/mandrake-release" },
|
{ "Mandrake", "/etc/mandrake-release" },
|
||||||
{ "Mandriva", "/etc/mandriva-release" },
|
{ "Mandriva", "/etc/mandriva-release" },
|
||||||
{ "MkLinux", "/etc/mklinux-release" },
|
{ "MkLinux", "/etc/mklinux-release" },
|
||||||
@ -22,7 +22,7 @@ index 0f55070..2d8467c 100644
|
|||||||
{ "Novell", "/etc/nld-release" },
|
{ "Novell", "/etc/nld-release" },
|
||||||
{ "OracleLinux", "/etc/oracle-release" },
|
{ "OracleLinux", "/etc/oracle-release" },
|
||||||
{ "Photon", "/etc/lsb-release" },
|
{ "Photon", "/etc/lsb-release" },
|
||||||
@@ -554,6 +555,8 @@ HostinfoGetOSShortName(char *distro, // IN: full distro name
|
@@ -865,6 +866,8 @@ HostinfoGetOSShortName(const char *distro, // IN: full distro name
|
||||||
}
|
}
|
||||||
} else if (strstr(distroLower, "mandrake")) {
|
} else if (strstr(distroLower, "mandrake")) {
|
||||||
Str_Strcpy(distroShort, STR_OS_MANDRAKE, distroShortSize);
|
Str_Strcpy(distroShort, STR_OS_MANDRAKE, distroShortSize);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user