Initial version (2.6.22-based with vserver 2.3) of the patches method.
[linux-2.6.git] / linux-2.6-530-built-by-support.patch
diff --git a/linux-2.6-530-built-by-support.patch b/linux-2.6-530-built-by-support.patch
new file mode 100644 (file)
index 0000000..727419a
--- /dev/null
@@ -0,0 +1,14 @@
+diff -Nurp linux-2.6.22.10-vs2.3.0.29-pl04/scripts/mkcompile_h linux-2.6.22.10-vs2.3.0.29-pl05/scripts/mkcompile_h
+--- linux-2.6.22.10-vs2.3.0.29-pl04/scripts/mkcompile_h        2007-07-21 18:00:28.000000000 -0400
++++ linux-2.6.22.10-vs2.3.0.29-pl05/scripts/mkcompile_h        2007-11-14 17:08:09.000000000 -0500
+@@ -60,8 +60,8 @@ UTS_TRUNCATE="sed -e s/\(.\{1,$UTS_LEN\}
+   echo \#define UTS_VERSION \"`echo $UTS_VERSION | $UTS_TRUNCATE`\"
+   echo \#define LINUX_COMPILE_TIME \"`date +%T`\"
+-  echo \#define LINUX_COMPILE_BY \"`whoami`\"
+-  echo \#define LINUX_COMPILE_HOST \"`hostname | $UTS_TRUNCATE`\"
++  echo \#define LINUX_COMPILE_BY \"support\"
++  echo \#define LINUX_COMPILE_HOST \"planet-lab.org\"
+   if [ -x /bin/dnsdomainname ]; then
+     echo \#define LINUX_COMPILE_DOMAIN \"`dnsdomainname | $UTS_TRUNCATE`\"