kabi: add kabi_ext2 list for checking

Add a kabi extension list for checking. While the kabi policies
for the extended list have not been clearly, then add it to the
KABI checking list to identify kabi broken when the PR is submitted.

Link: https://gitee.com/openeuler/kernel/issues/IBBY4I
Signed-off-by: Yanze <lyz25354840@gmail.com>
Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
This commit is contained in:
Yanze 2024-12-18 15:02:07 +08:00 committed by ZhangPeng
parent 6cd9a4d727
commit 4914a2b0b0
3 changed files with 3335 additions and 1 deletions

1647
Module.kabi_ext2_aarch64 Normal file

File diff suppressed because it is too large Load Diff

1680
Module.kabi_ext2_x86_64 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -42,7 +42,7 @@ rm -f test_openEuler_sign.ko test_openEuler_sign.ko.sig
%global upstream_sublevel 0
%global devel_release 68
%global maintenance_release .0.0
%global pkg_release .73
%global pkg_release .74
%global openeuler_lts 1
%global openeuler_major 2403
@ -110,6 +110,8 @@ Source20: Module.kabi_aarch64
Source21: Module.kabi_x86_64
Source22: Module.kabi_ext1_aarch64
Source23: Module.kabi_ext1_x86_64
Source24: Module.kabi_ext2_aarch64
Source25: Module.kabi_ext2_x86_64
%endif
Source200: mkgrub-menu-aarch64.sh
@ -465,6 +467,7 @@ TargetImage=$(basename $(make -s image_name))
if [ -e $RPM_SOURCE_DIR/Module.kabi_%{_target_cpu} ]; then
%{SOURCE18} -k $RPM_SOURCE_DIR/Module.kabi_%{_target_cpu} -s Module.symvers || exit 1
%{SOURCE18} -k $RPM_SOURCE_DIR/Module.kabi_ext1_%{_target_cpu} -s Module.symvers || exit 1
%{SOURCE18} -k $RPM_SOURCE_DIR/Module.kabi_ext2_%{_target_cpu} -s Module.symvers || exit 1
else
echo "**** NOTE: Cannot find reference Module.kabi file. ****"
fi
@ -1089,6 +1092,10 @@ fi
%endif
%changelog
* Wed Dec 18 2024 Liu Yanze <lyz25354840@gmail.com> - 6.6.0-68.0.0.74
- kabi: add kabi_ext2 list for checking
- kernel.spec: fix with_kabichk on non-arm64 platform
* Tue Dec 17 2024 Xie XiuQi <xiexiuqi@huawei.com> - 6.6.0-68.0.0.73
- kabi: add kabi_ext1 list for checking
- check-kabi: fix kabi check failed when no namespace