else it is not easily applied with git am (as used by debian/scripts/import-patchqueue)
Signed-off-by: Stoiko Ivanov <s.iva...@proxmox.com> --- ...Config-disable-module-BTF-debug-info.patch | 23 +++++++++++++++++++ patches/kernel/0009-disable-split-btf.patch | 13 ----------- 2 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 patches/kernel/0009-KConfig-disable-module-BTF-debug-info.patch delete mode 100644 patches/kernel/0009-disable-split-btf.patch diff --git a/patches/kernel/0009-KConfig-disable-module-BTF-debug-info.patch b/patches/kernel/0009-KConfig-disable-module-BTF-debug-info.patch new file mode 100644 index 0000000..5ae57a5 --- /dev/null +++ b/patches/kernel/0009-KConfig-disable-module-BTF-debug-info.patch @@ -0,0 +1,23 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbich...@proxmox.com> +Date: Wed, 22 Dec 2021 16:26:22 +0100 +Subject: [PATCH] KConfig: disable module BTF debug info + +Signed-off-by: Stoiko Ivanov <s.iva...@proxmox.com> +--- + lib/Kconfig.debug | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug +index 2a9b6dcdac4f..ecc18910a6b2 100644 +--- a/lib/Kconfig.debug ++++ b/lib/Kconfig.debug +@@ -325,7 +325,7 @@ config PAHOLE_HAS_SPLIT_BTF + def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "119") + + config DEBUG_INFO_BTF_MODULES +- def_bool y ++ def_bool n + depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF + help + Generate compact split BTF type information for kernel modules. diff --git a/patches/kernel/0009-disable-split-btf.patch b/patches/kernel/0009-disable-split-btf.patch deleted file mode 100644 index 3f3a498..0000000 --- a/patches/kernel/0009-disable-split-btf.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug -index 25dc20175bba..7ff51a3f65e6 100644 ---- a/lib/Kconfig.debug -+++ b/lib/Kconfig.debug -@@ -314,7 +314,7 @@ config PAHOLE_HAS_SPLIT_BTF - def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "119") - - config DEBUG_INFO_BTF_MODULES -- def_bool y -+ def_bool n - depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF - help - Generate compact split BTF type information for kernel modules. -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel