Re: [PATCH v2] initramfs: Use KBUILD_BUILD_TIMESTAMP for generated entries

Michal Marek
2011-04-18T13:06:19Z

On Mon, Apr 11, 2011 at 05:06:22PM +0200, Michal Marek wrote:
> gen_init_cpio gets the current time and uses it for each symlink,
> special file, and directory. Grab the current time once and make it
> possible to override it with the KBUILD_BUILD_TIMESTAMP variable for
> reproducible builds.
>
> Signed-off-by: Michal Marek <mmarek@suse.cz>
> ---
> Documentation/kbuild/kbuild.txt | 3 +-
> scripts/gen_initramfs_list.sh | 9 ++++++-
> usr/gen_init_cpio.c | 53 +++++++++++++++++++++++++++++---------
> 3 files changed, 50 insertions(+), 15 deletions(-)

Pushed to kbuild-2.6.git#kbuild.

Michal