From: Ben Hutchings Date: Tue, 12 May 2015 18:29:22 +0000 (+0100) Subject: Make mkcompile_h accept an alternate timestamp string X-Git-Tag: archive/raspbian/6.17.13-1+rpi1~2^2~66 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=db21ac168337bcd2e5299e653fc235111a6b5394;p=linux.git Make mkcompile_h accept an alternate timestamp string Forwarded: not-needed We want to include the Debian version in the utsname::version string instead of a full timestamp string. However, we still need to provide a standard timestamp string for gen_initramfs_list.sh to make the kernel image reproducible. Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to $KBUILD_BUILD_TIMESTAMP. Gbp-Pq: Topic debian Gbp-Pq: Name uname-version-timestamp.patch --- diff --git a/init/Makefile b/init/Makefile index d6f75d8907e..543de4bbcd7 100644 --- a/init/Makefile +++ b/init/Makefile @@ -30,7 +30,7 @@ preempt-flag-$(CONFIG_PREEMPT_DYNAMIC) := PREEMPT_DYNAMIC preempt-flag-$(CONFIG_PREEMPT_RT) := PREEMPT_RT build-version = $(or $(KBUILD_BUILD_VERSION), $(build-version-auto)) -build-timestamp = $(or $(KBUILD_BUILD_TIMESTAMP), $(build-timestamp-auto)) +build-timestamp = $(or $(KBUILD_BUILD_VERSION_TIMESTAMP), $(KBUILD_BUILD_TIMESTAMP), $(build-timestamp-auto)) # Maximum length of UTS_VERSION is 64 chars filechk_uts_version = \