Revert "Trim EXTRAVERSION in the Makefile on CI builds"
This reverts commit 89c7d2ae30
, which
was causing kernel modules to be installed in a location other than
/lib/modules/$(uname -r), preventing modprobe from locating them.
CI builds no longer contain the Pagure UID in the package release:
https://github.com/CentOS-PaaS-SIG/upstream-fedora-pipeline/pull/199
This commit is contained in:
parent
c80c8a3afd
commit
a86513b40e
@ -1427,9 +1427,7 @@ BuildKernel() {
|
||||
%endif
|
||||
|
||||
# make sure EXTRAVERSION says what we want it to say
|
||||
# Trim the release if this is a CI build, since KERNELVERSION is limited to 64 characters
|
||||
ShortRel=$(perl -e "print \"%{release}\" =~ s/\.pr\.[0-9A-Fa-f]{32}//r")
|
||||
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -${ShortRel}.%{_target_cpu}${Flav}/" Makefile
|
||||
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.%{_target_cpu}${Flav}/" Makefile
|
||||
|
||||
# if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme
|
||||
%if !0%{?rcrev}
|
||||
|
Loading…
Reference in New Issue
Block a user