forked from rpms/open-vm-tools
Added patch diskinfo-log-spew.patch.
This commit is contained in:
parent
ef29a6759f
commit
37b8e5295a
17
diskinfo-log-spew.patch
Normal file
17
diskinfo-log-spew.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/open-vm-tools/services/plugins/guestInfo/diskInfo.c b/open-vm-tools/services/plugins/guestInfo/diskInfo.c
|
||||||
|
index 878276ce7..032c09285 100644
|
||||||
|
--- a/open-vm-tools/services/plugins/guestInfo/diskInfo.c
|
||||||
|
+++ b/open-vm-tools/services/plugins/guestInfo/diskInfo.c
|
||||||
|
@@ -846,9 +846,9 @@ GuestInfoGetDiskDevice(const char *fsName,
|
||||||
|
*/
|
||||||
|
for (indx = 0; indx < partEntry->diskDevCnt; indx++) {
|
||||||
|
if (partEntry->diskDevNames[indx][0] == '\0') {
|
||||||
|
- g_warning("%s: Missing disk device name; VMDK mapping unavailable "
|
||||||
|
- "for \"%s\", fsName: \"%s\"\n", __FUNCTION__,
|
||||||
|
- partEntry->name, fsName);
|
||||||
|
+ g_debug("%s: Missing disk device name; VMDK mapping unavailable "
|
||||||
|
+ "for \"%s\", fsName: \"%s\"\n", __FUNCTION__,
|
||||||
|
+ partEntry->name, fsName);
|
||||||
|
partEntry->diskDevCnt = 0;
|
||||||
|
free(partEntry->diskDevNames);
|
||||||
|
partEntry->diskDevNames = NULL;
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
Name: open-vm-tools
|
Name: open-vm-tools
|
||||||
Version: %{toolsversion}
|
Version: %{toolsversion}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/vmware/%{name}
|
URL: https://github.com/vmware/%{name}
|
||||||
@ -48,6 +48,8 @@ ExclusiveArch: %{ix86} x86_64
|
|||||||
# Reference https://github.com/vmware/open-vm-tools/commit/89c0d444567eb525e8d083fb564c46d68e96660c
|
# Reference https://github.com/vmware/open-vm-tools/commit/89c0d444567eb525e8d083fb564c46d68e96660c
|
||||||
Patch1: gcc9-static-inline.patch
|
Patch1: gcc9-static-inline.patch
|
||||||
Patch2: gcc10-warning.patch
|
Patch2: gcc10-warning.patch
|
||||||
|
# Reference https://github.com/vmware/open-vm-tools/commit/4ee0bd3c8ead89541ab7d196fb54e940e397420d
|
||||||
|
Patch3: diskinfo-log-spew.patch
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -342,6 +344,9 @@ fi
|
|||||||
%{_bindir}/vmware-vgauth-smoketest
|
%{_bindir}/vmware-vgauth-smoketest
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 07 2020 Ravindra Kumar <ravindrakumar@vmware.com> - 11.0.5-2
|
||||||
|
- Added patch diskinfo-log-spew.patch.
|
||||||
|
|
||||||
* Tue Feb 04 2020 Ravindra Kumar <ravindrakumar@vmware.com> - 11.0.5-1
|
* Tue Feb 04 2020 Ravindra Kumar <ravindrakumar@vmware.com> - 11.0.5-1
|
||||||
- Package new upstream version open-vm-tools-11.0.5-15389592.
|
- Package new upstream version open-vm-tools-11.0.5-15389592.
|
||||||
- Removed vix-memleak.patch which is no longer needed.
|
- Removed vix-memleak.patch which is no longer needed.
|
||||||
|
Loading…
Reference in New Issue
Block a user