summaryrefslogtreecommitdiff
path: root/packages/linux/unslung-kernel/anonymiser.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/linux/unslung-kernel/anonymiser.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/linux/unslung-kernel/anonymiser.patch')
-rw-r--r--packages/linux/unslung-kernel/anonymiser.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/linux/unslung-kernel/anonymiser.patch b/packages/linux/unslung-kernel/anonymiser.patch
index e69de29bb2..61201031fa 100644
--- a/packages/linux/unslung-kernel/anonymiser.patch
+++ b/packages/linux/unslung-kernel/anonymiser.patch
@@ -0,0 +1,24 @@
+--- linux-2.4.22/Makefile.orig 2004-12-26 13:11:25.000000000 +1030
++++ linux-2.4.22/Makefile 2004-12-26 13:12:32.000000000 +1030
+@@ -431,12 +431,15 @@
+ @LANG=C echo ' '`date` >> .ver1
+ @echo \#define UTS_VERSION \"`cat .ver1 | $(uts_truncate)`\" > .ver
+ @LANG=C echo \#define LINUX_COMPILE_TIME \"`date +%T`\" >> .ver
+- @echo \#define LINUX_COMPILE_BY \"`whoami`\" >> .ver
+- @echo \#define LINUX_COMPILE_HOST \"`hostname | $(uts_truncate)`\" >> .ver
+- @([ -x /bin/dnsdomainname ] && /bin/dnsdomainname > .ver1) || \
+- ([ -x /bin/domainname ] && /bin/domainname > .ver1) || \
+- echo > .ver1
+- @echo \#define LINUX_COMPILE_DOMAIN \"`cat .ver1 | $(uts_truncate)`\" >> .ver
++# @echo \#define LINUX_COMPILE_BY \"`whoami`\" >> .ver
++ @echo \#define LINUX_COMPILE_BY \"unslung\" >> .ver
++# @echo \#define LINUX_COMPILE_HOST \"`hostname | $(uts_truncate)`\" >> .ver
++ @echo \#define LINUX_COMPILE_HOST \"unslung.org\" >> .ver
++# @([ -x /bin/dnsdomainname ] && /bin/dnsdomainname > .ver1) || \
++# ([ -x /bin/domainname ] && /bin/domainname > .ver1) || \
++# echo > .ver1
++# @echo \#define LINUX_COMPILE_DOMAIN \"`cat .ver1 | $(uts_truncate)`\" >> .ver
++ @echo \#define LINUX_COMPILE_DOMAIN \"unslung.org\" >> .ver
+ @echo \#define LINUX_COMPILER \"`$(CC) $(CFLAGS) -v 2>&1 | tail -n 1`\" >> .ver
+ @mv -f .ver $@
+ @rm -f .ver1