33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From 934b3b3c0c12be2435f8edbe484c2696dda93864 Mon Sep 17 00:00:00 2001
|
|
From: Joe Lawrence <joe.lawrence@redhat.com>
|
|
Date: Mon, 16 Jan 2023 09:33:55 -0500
|
|
Subject: [PATCH] kpatch-build: ignore init/version-timestamp.o
|
|
|
|
Kernel v6.1+ commit 2df8220cc511 ("kbuild: build init/built-in.a just
|
|
once") split init_uts_ns and linux_banner out to
|
|
init/version-timestamp.c from init/version.c
|
|
|
|
Add init/version-timestamp.o to the list of object files that kpatch-cc
|
|
won't add to its changed_objs list.
|
|
|
|
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
|
|
---
|
|
kpatch-build/kpatch-cc | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/kpatch-build/kpatch-cc b/kpatch-build/kpatch-cc
|
|
index 2a3d264..17aae25 100755
|
|
--- a/kpatch-build/kpatch-cc
|
|
+++ b/kpatch-build/kpatch-cc
|
|
@@ -44,6 +44,7 @@ if [[ "$TOOLCHAINCMD" =~ ^(.*-)?gcc$ || "$TOOLCHAINCMD" =~ ^(.*-)?clang$ ]] ; th
|
|
arch/s390/kernel/vdso64/*|\
|
|
drivers/firmware/efi/libstub/*|\
|
|
init/version.o|\
|
|
+ init/version-timestamp.o|\
|
|
kernel/system_certificates.o|\
|
|
lib/*|\
|
|
tools/*|\
|
|
--
|
|
2.27.0
|
|
|