[PATCH master] Keep .BTF section in modules

hulk inclusion category: bugfix bugzilla: https://gitee.com/src-openeuler/dwarves/issues/I7KOQ6 Signed-off-by: Wei Li <liwei391@huawei.com> --- SOURCE | 2 +- kernel.spec | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/SOURCE b/SOURCE index 5c2a9cf..3bed5ba 100644 --- a/SOURCE +++ b/SOURCE @@ -1 +1 @@ -6.4.0-1.0.1 +6.4.0-1.0.2 diff --git a/kernel.spec b/kernel.spec index e31f42a..634131e 100644 --- a/kernel.spec +++ b/kernel.spec @@ -11,8 +11,8 @@ %global upstream_version 6.4 %global upstream_sublevel 0 %global devel_release 1 -%global maintenance_release .0.1 -%global pkg_release .5 +%global maintenance_release .0.2 +%global pkg_release .6 %define with_debuginfo 1 # Do not recompute the build-id of vmlinux in find-debuginfo.sh @@ -226,7 +226,8 @@ package or when debugging this package.\ %{nil} %debuginfo_template -n kernel -%files -n kernel-debuginfo -f debugfiles.list +%files -n kernel-debuginfo -f kernel-debugfiles.list -f debugfiles.list +%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} --keep-section '.BTF' -p '.*/%{KernelVer}/.*|.*/vmlinux|XXX' -o kernel-debugfiles.list} %debuginfo_template -n bpftool %files -n bpftool-debuginfo -f bpftool-debugfiles.list @@ -873,6 +874,9 @@ fi %endif %changelog +* Wed Aug 23 2023 Wei Li <liwei391@huawei.com> - 6.4.0-1.0.2.6 +- keep .BTF section in modules + * Wed Aug 9 2023 Mingzheng Xing <xingmingzheng@iscas.ac.cn> - 6.4.0-1.0.1.5 - add riscv64 support -- 2.25.1

反馈: 您发送到kernel-build@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/src-openeuler/kernel/pulls/1160 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel-build@openeuler.org/mes... FeedBack: The patch(es) which you have sent to kernel-build@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/src-openeuler/kernel/pulls/1160 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel-build@openeuler.org/mes...
participants (2)
-
patchwork bot
-
Wei Li