Rawhide kernel debuginfo size more than doubled!
Roland McGrath
roland at redhat.com
Mon Mar 31 19:45:25 UTC 2008
I had a fix for this test-building when I went to watch some schlock TV
last night and forgot to check on it and commit before I went to bed.
This was my .spec diff. The regexp has three chars different from your version.
+%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:.?%{1}}?/.*|/.*%%{KVERREL}%{?1:.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
^
what's that ? for? The other differences are \. instead of . for matching
literal . in two places.
--- kernel.spec 30 Mar 2008 22:48:29 -0700 1.560
+++ kernel.spec 30 Mar 2008 22:59:22 -0700
@@ -712,7 +712,7 @@ AutoReqProv: no\
%description -n %{name}%{?1:-%{1}}-debuginfo\
This package provides debug information for package %{name}%{?1:-%{1}}.\
This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
-%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{version}-%%{release}%{?1:-?%{1}}(-%%{_target_cpu})?/.*|/.*%%{version}-%%{release}%{?1}(\.debug)?' -o debuginfo%{?1}.list}\
+%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\.?%{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
%{nil}
#
@@ -1246,7 +1246,7 @@ BuildKernel() {
CopyKernel=cp
fi
- KernelVer=%{version}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}
+ KernelVer=%{KVERREL}${Flavour:+.${Flavour}}
echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}...
# make sure EXTRAVERSION says what we want it to say
More information about the Fedora-kernel-list
mailing list