summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2021-10-27 20:01:31 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2021-10-27 20:01:31 +0200
commit8556c913c35be57f905d5fb1f86fd1e79974f25a (patch)
treec927d5aacc59c2ee1d16aaa0444cffa388b3959a /kernel.spec
parent82a8672baa16a5596c86c255ddfeda1b71f017d7 (diff)
parent241366c6f4ba6bd55670f2b01618010f9b9e650b (diff)
downloadkernel-8556c913c35be57f905d5fb1f86fd1e79974f25a.tar.gz
kernel-8556c913c35be57f905d5fb1f86fd1e79974f25a.tar.xz
kernel-8556c913c35be57f905d5fb1f86fd1e79974f25a.zip
Merge remote-tracking branch 'origin/rawhide' into rawhide-user-thl-vanilla-fedorakernel-5.15.0-0.rc7.20211027gitd25f27432f80.55.vanilla.1.fc34
Diffstat (limited to 'kernel.spec')
-rwxr-xr-xkernel.spec38
1 files changed, 22 insertions, 16 deletions
diff --git a/kernel.spec b/kernel.spec
index 5e88ad7f0..76de1ed00 100755
--- a/kernel.spec
+++ b/kernel.spec
@@ -83,9 +83,9 @@ Summary: The Linux kernel
# Set debugbuildsenabled to 0 to not build a separate debug kernel, but
# to build the base kernel using the debug configuration. (Specifying
# the --with-release option overrides this setting.)
-%define debugbuildsenabled 1
+%define debugbuildsenabled 0
-%global distro_build 0.rc7.53
+%global distro_build 0.rc7.20211027gitd25f27432f80.55
%if 0%{?fedora}
%define secure_boot_arch x86_64
@@ -132,13 +132,13 @@ Summary: The Linux kernel
%define rpmversion 5.15.0
%define patchversion 5.15
-%define pkgrelease 0.rc7.53
+%define pkgrelease 0.rc7.20211027gitd25f27432f80.55
# This is needed to do merge window version magic
%define patchlevel 15
# allow pkg_release to have configurable %%{?dist} tag
-%define specrelease 0.rc7.53%{?buildid}%{?dist}
+%define specrelease 0.rc7.20211027gitd25f27432f80.55%{?buildid}%{?dist}
%define pkg_release %{specrelease}
@@ -684,7 +684,7 @@ BuildRequires: lld
# exact git commit you can run
#
# xzcat -qq ${TARBALL} | git get-tar-commit-id
-Source0: linux-5.15-rc7.tar.xz
+Source0: linux-5.15-rc7-18-gd25f27432f80.tar.xz
Source1: Makefile.rhelver
@@ -799,6 +799,7 @@ Source72: filter-s390x.sh.fedora
Source73: filter-modules.sh.fedora
%endif
+Source75: partial-kgcov-snip.config
Source80: generate_all_configs.sh
Source81: process_configs.sh
@@ -1375,8 +1376,8 @@ ApplyOptionalPatch()
fi
}
-%setup -q -n kernel-5.15-rc7 -c
-mv linux-5.15-rc7 linux-%{KVERREL}
+%setup -q -n kernel-5.15-rc7-18-gd25f27432f80 -c
+mv linux-5.15-rc7-18-gd25f27432f80 linux-%{KVERREL}
cd linux-%{KVERREL}
# cp -a %{SOURCE1} .
@@ -1440,15 +1441,13 @@ for i in %{all_arch_configs}
do
mv $i $i.tmp
./merge.pl %{SOURCE3001} $i.tmp > $i
- rm $i.tmp
-done
-%endif
-
-# enable GCOV kernel config options if gcov is on
%if %{with_gcov}
-for i in *.config
-do
- sed -i 's/# CONFIG_GCOV_KERNEL is not set/CONFIG_GCOV_KERNEL=y\nCONFIG_GCOV_PROFILE_ALL=y\n/' $i
+ echo "Merging with gcov options"
+ cat %{SOURCE75}
+ mv $i $i.tmp
+ ./merge.pl %{SOURCE75} $i.tmp > $i
+%endif
+ rm $i.tmp
done
%endif
@@ -2881,7 +2880,7 @@ fi
%endif
%if %{with_gcov}
-%ifarch x86_64 s390x ppc64le aarch64
+%ifnarch %nobuildarches noarch
%files gcov
%{_builddir}
%endif
@@ -2979,6 +2978,13 @@ fi
#
#
%changelog
+* Wed Oct 27 2021 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.15-0.rc7.20211027gitd25f27432f80.55]
+- redhat/kernel.spec.template: don't hardcode gcov arches (Jan Stancek)
+- redhat/configs: create a separate config for gcov options (Jan Stancek)
+
+* Wed Oct 27 2021 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.15-0.rc7.20211027gitd25f27432f80.54]
+- Fedora config updates (Justin M. Forbes)
+
* Tue Oct 26 2021 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.15-0.rc7.53]
- Enable CONFIG_FAIL_SUNRPC for debug builds (Justin M. Forbes)
- fedora: Disable fbdev drivers and use simpledrm instead (Javier Martinez Canillas)