]> git.proxmox.com Git - pve-kernel.git/blame_incremental - patches/kernel/0001-Make-mkcompile_h-accept-an-alternate-timestamp-strin.patch
update to Ubuntu-6.1.0-1.1
[pve-kernel.git] / patches / kernel / 0001-Make-mkcompile_h-accept-an-alternate-timestamp-strin.patch
... / ...
CommitLineData
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Ben Hutchings <ben@decadent.org.uk>
3Date: Tue, 12 May 2015 19:29:22 +0100
4Subject: [PATCH] Make mkcompile_h accept an alternate timestamp string
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9We want to include the Debian version in the utsname::version string
10instead of a full timestamp string. However, we still need to provide
11a standard timestamp string for gen_initramfs_list.sh to make the
12kernel image reproducible.
13
14Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to
15$KBUILD_BUILD_TIMESTAMP.
16
17Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
18Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19---
20 init/Makefile | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/init/Makefile b/init/Makefile
24index 8316c23bead2..e99b8de4a93a 100644
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
29
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 = \