Re: [PATCH] override build timestamp

2007-02-19 Thread Olaf Hering
On Sun, Feb 18, Roman Zippel wrote: > This information could also be added to the version string like > CONFIG_LOCALVERSION_AUTO does. OTOH rather than abusing the build date > (which may not mean much, but it nevertheless has a meaning), I'd rather > add the possibility to add extra informatio

Re: [PATCH] override build timestamp

2007-02-18 Thread Roman Zippel
Hi, On Sun, 18 Feb 2007, Olaf Hering wrote: > > On Fri, 16 Feb 2007, Olaf Hering wrote: > > > > > Pass a timestamp to kbuild via an enviroment variable. > > > > > > TZ=UTC BUILD_TIMESTAMP=2007-01-01 make -kj O=../O vmlinux > > > > > > This can be used when the kernel source is in a SCM and

Re: [PATCH] override build timestamp

2007-02-18 Thread Olaf Hering
On Sun, Feb 18, Roman Zippel wrote: > Hi, > > On Fri, 16 Feb 2007, Olaf Hering wrote: > > > Pass a timestamp to kbuild via an enviroment variable. > > > > TZ=UTC BUILD_TIMESTAMP=2007-01-01 make -kj O=../O vmlinux > > > > This can be used when the kernel source is in a SCM and uname -v > >

Re: exporting LANG=C (Re: [PATCH] override build timestamp)

2007-02-17 Thread Oleg Verych
On Sun, Feb 18, 2007 at 02:57:26AM +0100, Roman Zippel wrote: > Hi, Hallo, Roman. > On Sat, 17 Feb 2007, Oleg Verych wrote: > > > could you make separate patch with exporting 'LANG=C' on the very > > beginning and delete all other occurrences of it? It's a C header file > > generation and afaik,

Re: [PATCH] override build timestamp

2007-02-17 Thread Roman Zippel
Hi, On Fri, 16 Feb 2007, Olaf Hering wrote: > Pass a timestamp to kbuild via an enviroment variable. > > TZ=UTC BUILD_TIMESTAMP=2007-01-01 make -kj O=../O vmlinux > > This can be used when the kernel source is in a SCM and uname -v > is supposed to give the commit date and not the package b

Re: exporting LANG=C (Re: [PATCH] override build timestamp)

2007-02-17 Thread Roman Zippel
Hi, On Sat, 17 Feb 2007, Oleg Verych wrote: > could you make separate patch with exporting 'LANG=C' on the very > beginning and delete all other occurrences of it? It's a C header file > generation and afaik, it must be ASCII. Bad idea, most user output should be localized (even if it's only utf

Re: exporting LANG=C (Re: [PATCH] override build timestamp)

2007-02-17 Thread Andreas Schwab
Olaf Hering <[EMAIL PROTECTED]> writes: > But we better build the whole kernel with LC_ALL=C LANG=C. If you have LC_ALL=C you don't need LANG=C. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58C

Re: exporting LANG=C (Re: [PATCH] override build timestamp)

2007-02-17 Thread Olaf Hering
On Sat, Feb 17, Oleg Verych wrote: > While adding this functionality must be decided by kbuild developers, > could you make separate patch with exporting 'LANG=C' on the very > beginning and delete all other occurrences of it? It's a C header file > generation and afaik, it must be ASCII. That ma

exporting LANG=C (Re: [PATCH] override build timestamp)

2007-02-16 Thread Oleg Verych
> From: Olaf Hering > Newsgroups: gmane.linux.kernel > Subject: [PATCH] override build timestamp > Date: Fri, 16 Feb 2007 22:52:13 +0100 Hallo, Olaf. > Pass a timestamp to kbuild via an enviroment variable. > > TZ=UTC BUILD_TIMESTAMP=2007-01-01 make -kj O=../O vmlinux

[PATCH] override build timestamp

2007-02-16 Thread Olaf Hering
Pass a timestamp to kbuild via an enviroment variable. TZ=UTC BUILD_TIMESTAMP=2007-01-01 make -kj O=../O vmlinux This can be used when the kernel source is in a SCM and uname -v is supposed to give the commit date and not the package build time. Signed-off-by: Olaf Hering <[EMAIL PROTECTED]