1
1
Author: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
2
2
Description: Replacing uname call with KVERS, overwriting seemed not to work.
4
diff -Naurp open-vm-tools.orig/modules/linux/vmblock/Makefile open-vm-tools/modules/linux/vmblock/Makefile
5
--- open-vm-tools.orig/modules/linux/vmblock/Makefile 2010-06-18 01:02:36.000000000 +0200
6
+++ open-vm-tools/modules/linux/vmblock/Makefile 2010-07-03 20:59:43.128041723 +0200
7
@@ -43,7 +43,7 @@ INCLUDE += -I$(SRCROOT)/shared
11
-VM_UNAME = $(shell uname -r)
14
# Header directory for the running kernel
15
HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
16
diff -Naurp open-vm-tools.orig/modules/linux/vmci/Makefile open-vm-tools/modules/linux/vmci/Makefile
17
--- open-vm-tools.orig/modules/linux/vmci/Makefile 2010-06-18 01:02:36.000000000 +0200
18
+++ open-vm-tools/modules/linux/vmci/Makefile 2010-07-03 20:59:46.384042352 +0200
19
@@ -43,7 +43,7 @@ INCLUDE += -I$(SRCROOT)/shared
23
-VM_UNAME = $(shell uname -r)
26
# Header directory for the running kernel
27
HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
28
diff -Naurp open-vm-tools.orig/modules/linux/vmhgfs/Makefile open-vm-tools/modules/linux/vmhgfs/Makefile
29
--- open-vm-tools.orig/modules/linux/vmhgfs/Makefile 2010-06-18 01:02:36.000000000 +0200
30
+++ open-vm-tools/modules/linux/vmhgfs/Makefile 2010-07-03 20:59:49.264041335 +0200
31
@@ -43,7 +43,7 @@ INCLUDE += -I$(SRCROOT)/shared
35
-VM_UNAME = $(shell uname -r)
38
# Header directory for the running kernel
39
HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
40
diff -Naurp open-vm-tools.orig/modules/linux/vmsync/Makefile open-vm-tools/modules/linux/vmsync/Makefile
41
--- open-vm-tools.orig/modules/linux/vmsync/Makefile 2010-06-18 01:02:36.000000000 +0200
42
+++ open-vm-tools/modules/linux/vmsync/Makefile 2010-07-03 20:59:56.041024330 +0200
43
@@ -43,7 +43,7 @@ INCLUDE += -I$(SRCROOT)/shared
47
-VM_UNAME = $(shell uname -r)
50
# Header directory for the running kernel
51
HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
52
diff -Naurp open-vm-tools.orig/modules/linux/vmxnet/Makefile open-vm-tools/modules/linux/vmxnet/Makefile
53
--- open-vm-tools.orig/modules/linux/vmxnet/Makefile 2010-06-18 01:02:36.000000000 +0200
54
+++ open-vm-tools/modules/linux/vmxnet/Makefile 2010-07-03 21:00:00.172042218 +0200
55
@@ -43,7 +43,7 @@ INCLUDE += -I$(SRCROOT)/shared
59
-VM_UNAME = $(shell uname -r)
62
# Header directory for the running kernel
63
HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
64
diff -Naurp open-vm-tools.orig/modules/linux/vsock/Makefile open-vm-tools/modules/linux/vsock/Makefile
65
--- open-vm-tools.orig/modules/linux/vsock/Makefile 2010-06-18 01:02:36.000000000 +0200
66
+++ open-vm-tools/modules/linux/vsock/Makefile 2010-07-03 21:00:05.380042340 +0200
67
@@ -43,7 +43,7 @@ INCLUDE += -I$(SRCROOT)/shared
71
-VM_UNAME = $(shell uname -r)
74
# Header directory for the running kernel
75
HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
4
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmblock/Makefile
5
===================================================================
6
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmblock/Makefile 2011-03-08 17:11:48.701605582 -0600
7
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmblock/Makefile 2011-03-08 17:11:50.821605582 -0600
12
-VM_UNAME = $(shell uname -r)
15
# Header directory for the running kernel
17
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmci/Makefile
18
===================================================================
19
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmci/Makefile 2011-03-08 17:11:48.721605582 -0600
20
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmci/Makefile 2011-03-08 17:11:50.841605582 -0600
25
-VM_UNAME = $(shell uname -r)
28
# Header directory for the running kernel
30
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmhgfs/Makefile
31
===================================================================
32
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmhgfs/Makefile 2011-03-08 17:11:48.741605582 -0600
33
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmhgfs/Makefile 2011-03-08 17:11:50.861605582 -0600
38
-VM_UNAME = $(shell uname -r)
41
# Header directory for the running kernel
43
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmsync/Makefile
44
===================================================================
45
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmsync/Makefile 2011-03-08 17:11:48.761605582 -0600
46
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmsync/Makefile 2011-03-08 17:11:50.891605582 -0600
51
-VM_UNAME = $(shell uname -r)
54
# Header directory for the running kernel
56
Index: open-vm-tools-2010.06.16-268169/modules/linux/vmxnet/Makefile
57
===================================================================
58
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vmxnet/Makefile 2011-03-08 17:11:48.781605582 -0600
59
+++ open-vm-tools-2010.06.16-268169/modules/linux/vmxnet/Makefile 2011-03-08 17:11:50.931605582 -0600
64
-VM_UNAME = $(shell uname -r)
67
# Header directory for the running kernel
69
Index: open-vm-tools-2010.06.16-268169/modules/linux/vsock/Makefile
70
===================================================================
71
--- open-vm-tools-2010.06.16-268169.orig/modules/linux/vsock/Makefile 2011-03-08 17:11:48.811605582 -0600
72
+++ open-vm-tools-2010.06.16-268169/modules/linux/vsock/Makefile 2011-03-08 17:11:50.961605582 -0600
77
-VM_UNAME = $(shell uname -r)
80
# Header directory for the running kernel