kernel-headers: exclude unnecessary files
do not include cpuidle.h and cpufreq.h,these two files are included in kernel-tools-devel package. category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I5VTY2 Signed-off-by: Hongchen Zhang <zhanghongchen@loongson.cn>
This commit is contained in:
parent
86941e399d
commit
e597dec068
@ -42,7 +42,7 @@ rm -f test_openEuler_sign.ko test_openEuler_sign.ko.sig
|
|||||||
%global upstream_sublevel 0
|
%global upstream_sublevel 0
|
||||||
%global devel_release 21
|
%global devel_release 21
|
||||||
%global maintenance_release .0.0
|
%global maintenance_release .0.0
|
||||||
%global pkg_release .22
|
%global pkg_release .23
|
||||||
|
|
||||||
%define with_debuginfo 1
|
%define with_debuginfo 1
|
||||||
# Do not recompute the build-id of vmlinux in find-debuginfo.sh
|
# Do not recompute the build-id of vmlinux in find-debuginfo.sh
|
||||||
@ -932,6 +932,8 @@ fi
|
|||||||
%files headers
|
%files headers
|
||||||
%defattr (-, root, root)
|
%defattr (-, root, root)
|
||||||
/usr/include/*
|
/usr/include/*
|
||||||
|
%exclude %{_includedir}/cpufreq.h
|
||||||
|
%exclude %{_includedir}/cpuidle.h
|
||||||
|
|
||||||
%if %{with_perf}
|
%if %{with_perf}
|
||||||
%files -n perf
|
%files -n perf
|
||||||
@ -1019,6 +1021,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 23 2024 Hongchen Zhang <zhanghongchen@loongson.cn> - 6.6.0-21.0.0.23
|
||||||
|
- exclude cpufreq.h and cpuidle.h from kernel-headers package
|
||||||
|
|
||||||
* Sat Apr 20 2024 ZhangPeng <zhangpeng362@huawei.com> - 6.6.0-21.0.0.22
|
* Sat Apr 20 2024 ZhangPeng <zhangpeng362@huawei.com> - 6.6.0-21.0.0.22
|
||||||
- !6201 v2 mm: some optimization about hugetlb and thp
|
- !6201 v2 mm: some optimization about hugetlb and thp
|
||||||
- mm: filemap: try to enable THP for exec mapping
|
- mm: filemap: try to enable THP for exec mapping
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user