From: Andreas Gruenbacher Subject: Hide the build hostname Patch-mainline: Never, SuSE-specific Instead of the real build host and user name, use "buildhost.suse.de" and "geeko". Signed-off-by: Andreas Gruenbacher scripts/mkcompile_h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) --- a/scripts/mkcompile_h +++ b/scripts/mkcompile_h @@ -64,19 +64,9 @@ UTS_TRUNCATE="cut -b -$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`\" - - domain=`dnsdomainname 2> /dev/null` - if [ -z "$domain" ]; then - domain=`domainname 2> /dev/null` - fi - - if [ -n "$domain" ]; then - echo \#define LINUX_COMPILE_DOMAIN \"`echo $domain | $UTS_TRUNCATE`\" - else - echo \#define LINUX_COMPILE_DOMAIN - fi + echo \#define LINUX_COMPILE_BY \"geeko\" + echo \#define LINUX_COMPILE_HOST \"buildhost\" + echo \#define LINUX_COMPILE_DOMAIN \"suse.de\" echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | tail -n 1`\" ) > .tmpcompile