Append .debug to rawhide builds
When we have debugbuildsenabled=0, we're actually building a debug kernel. To help point this out, let's append .debug in EXTRAVERSION like we would when building kernel-debug
This commit is contained in:
parent
9167f1f0b9
commit
0288b5115e
@ -1618,6 +1618,13 @@ BuildKernel() {
|
|||||||
# make sure EXTRAVERSION says what we want it to say
|
# make sure EXTRAVERSION says what we want it to say
|
||||||
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
|
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
|
||||||
|
|
||||||
|
%if !%{debugbuildsenabled}
|
||||||
|
%if !%{with_release}
|
||||||
|
# we're building a rawhide kernel where debug is the "norm".
|
||||||
|
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.%{_target_cpu}${Flavour:+.${Flavour}}.debug/" Makefile
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme
|
# if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme
|
||||||
%if !0%{?rcrev}
|
%if !0%{?rcrev}
|
||||||
%if 0%{?gitrev}
|
%if 0%{?gitrev}
|
||||||
|
Loading…
Reference in New Issue
Block a user