summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-10-31 15:29:12 -0400
committerLaura Abbott <labbott@redhat.com>2019-10-31 15:30:38 -0400
commit8d6017d4cecf41d78dd1d5f0c049d3edc9db624c (patch)
treed86e6a2c1eef7b81813e69b5a8ce9783f5d5d9c3
parent841574462c0c11ad1b9efbe1ae57471836a75673 (diff)
downloadkernel-8d6017d4cecf41d78dd1d5f0c049d3edc9db624c.tar.gz
kernel-8d6017d4cecf41d78dd1d5f0c049d3edc9db624c.tar.xz
kernel-8d6017d4cecf41d78dd1d5f0c049d3edc9db624c.zip
Revert "Add some weak-updates"
This reverts commit 8044841427b22ab04ec6dd8781fbe4be2be411df. There's an issue with the weak-updates script that needs to be fixed. Revert this for now.
-rw-r--r--kernel.spec10
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel.spec b/kernel.spec
index 25ef41090..3ec825e82 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1533,7 +1533,6 @@ BuildKernel() {
mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra
mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/internal
mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
- mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/weak-updates
# first copy everything
cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
@@ -2175,10 +2174,6 @@ fi\
#
%define kernel_variant_posttrans() \
%{expand:%%posttrans %{?1:%{1}-}core}\
-if [ -x %{_sbindir}/weak-modules ]\
-then\
- %{_sbindir}/weak-modules --add-kernel %{KVERREL}%{?1:+%{1}} || exit $?\
-fi\
/bin/kernel-install add %{KVERREL}%{?1:+%{1}} /lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz || exit $?\
%{nil}
@@ -2208,10 +2203,6 @@ fi}\
%define kernel_variant_preun() \
%{expand:%%preun %{?1:%{1}-}core}\
/bin/kernel-install remove %{KVERREL}%{?1:+%{1}} /lib/modules/%{KVERREL}%{?1:+%{1}}/vmlinuz || exit $?\
-if [ -x %{_sbindir}/weak-modules ]\
-then\
- %{_sbindir}/weak-modules --remove-kernel %{KVERREL}%{?1:+%{1}} || exit $?\
-fi\
%{nil}
%kernel_variant_preun
@@ -2317,7 +2308,6 @@ fi
/lib/modules/%{KVERREL}%{?3:+%{3}}/source\
/lib/modules/%{KVERREL}%{?3:+%{3}}/updates\
/lib/modules/%{KVERREL}%{?3:+%{3}}/bls.conf\
-/lib/modules/%{KVERREL}%{?3:+%{3}}/weak-updates\
%if %{1}\
/lib/modules/%{KVERREL}%{?3:+%{3}}/vdso\
%endif\