]>
Commit | Line | Data |
---|---|---|
59d5af67 | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
ba2f1a67 | 2 | From: Ben Hutchings <ben@decadent.org.uk> |
ba2f1a67 | 3 | Date: Tue, 12 May 2015 19:29:22 +0100 |
59d5af67 | 4 | Subject: [PATCH] Make mkcompile_h accept an alternate timestamp string |
b9e76370 FG |
5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
ba2f1a67 FG |
8 | |
9 | We want to include the Debian version in the utsname::version string | |
10 | instead of a full timestamp string. However, we still need to provide | |
11 | a standard timestamp string for gen_initramfs_list.sh to make the | |
12 | kernel image reproducible. | |
13 | ||
14 | Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to | |
15 | $KBUILD_BUILD_TIMESTAMP. | |
16 | ||
b9e76370 | 17 | Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> |
ff71f8b9 | 18 | Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
b9e76370 | 19 | --- |
12247ad0 TL |
20 | init/Makefile | 2 +- |
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
b9e76370 | 22 | |
12247ad0 | 23 | diff --git a/init/Makefile b/init/Makefile |
24d804a0 | 24 | index 26de459006c4..3157d9c79901 100644 |
12247ad0 TL |
25 | --- a/init/Makefile |
26 | +++ b/init/Makefile | |
27 | @@ -29,7 +29,7 @@ preempt-flag-$(CONFIG_PREEMPT_DYNAMIC) := PREEMPT_DYNAMIC | |
28 | preempt-flag-$(CONFIG_PREEMPT_RT) := PREEMPT_RT | |
ba2f1a67 | 29 | |
12247ad0 TL |
30 | build-version = $(or $(KBUILD_BUILD_VERSION), $(build-version-auto)) |
31 | -build-timestamp = $(or $(KBUILD_BUILD_TIMESTAMP), $(build-timestamp-auto)) | |
32 | +build-timestamp = $(or $(KBUILD_BUILD_VERSION_TIMESTAMP), $(KBUILD_BUILD_TIMESTAMP), $(build-timestamp-auto)) | |
33 | ||
34 | # Maximum length of UTS_VERSION is 64 chars | |
35 | filechk_uts_version = \ |